Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 117.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 201 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 75.86 kB / 374.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09612, allocations: 53.31 MB / 427.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.005187/0.1013, allocations: 3.528 MB / 431.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.103, allocations: 0.853 MB / 432.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.1033, allocations: 11.94 kB / 432.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1888/0.2921, allocations: 64.2 kB / 432.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.2926, allocations: 138.4 kB / 432.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.2931, allocations: 134 kB / 432.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007767/0.2939, allocations: 0.5103 MB / 433.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2942, allocations: 95.11 kB / 433.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.2946, allocations: 199.5 kB / 433.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.2949, allocations: 211 kB / 433.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/0.295, allocations: 40.16 kB / 433.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2951, allocations: 47.84 kB / 433.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.2952, allocations: 90.48 kB / 433.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.2954, allocations: 225 kB / 434 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004981/0.2959, allocations: 0.4958 MB / 434.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2959, allocations: 0 / 434.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2959, allocations: 0 / 434.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.296, allocations: 0 / 434.5 MB, free: 7.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001042/0.297, allocations: 0.7338 MB / 435.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.297, allocations: 9.812 kB / 435.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.2974, allocations: 77.31 kB / 435.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.2978, allocations: 338.1 kB / 435.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2978, allocations: 23.56 kB / 435.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.2979, allocations: 32.38 kB / 435.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.2984, allocations: 353.3 kB / 436 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2984, allocations: 8.562 kB / 436 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.2985, allocations: 15.03 kB / 436 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.2985, allocations: 7.812 kB / 436 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.299, allocations: 267.3 kB / 436.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.3007, allocations: 1.414 MB / 437.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.3011, allocations: 203.8 kB / 437.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.3013, allocations: 96.41 kB / 438 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3014, allocations: 2.625 kB / 438 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3014, allocations: 43.55 kB / 438 MB, free: 6.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.3014, allocations: 0 / 438 MB, free: 6.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001328/0.3027, allocations: 0.6925 MB / 438.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.3027, allocations: 58.03 kB / 438.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.303, allocations: 310.4 kB / 439.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.303, allocations: 31.86 kB / 439.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3031, allocations: 216.5 kB / 439.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.3032, allocations: 82.81 kB / 439.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.3033, allocations: 55.53 kB / 439.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.3033, allocations: 338.8 kB / 439.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3035, allocations: 85.95 kB / 439.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3037, allocations: 129.2 kB / 440 MB, free: 4.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.304, allocations: 197.1 kB / 440.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.304, allocations: 1.094 kB / 440.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000635/0.3047, allocations: 355.6 kB / 440.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3047, allocations: 10.31 kB / 440.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3047, allocations: 1.125 kB / 440.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.3051, allocations: 113.9 kB / 440.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3053, allocations: 31.38 kB / 440.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.3081, allocations: 4.964 MB / 445.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3083, allocations: 28 kB / 445.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3083, allocations: 14.52 kB / 445.7 MB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.3085, allocations: 153.3 kB / 445.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.3086, allocations: 37.14 kB / 445.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.3087, allocations: 39.56 kB / 445.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3087, allocations: 2.5 kB / 445.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3087, allocations: 0.9375 kB / 445.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3087, allocations: 1.172 kB / 445.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3092, allocations: 372.7 kB / 446.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3092, allocations: 17.11 kB / 446.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3093, allocations: 20.95 kB / 446.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.3096, allocations: 115.1 kB / 446.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3097, allocations: 7.531 kB / 446.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/0.3141, allocations: 4.968 MB / 451.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3141, allocations: 1.141 kB / 451.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.3148, allocations: 402.4 kB / 451.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.315, allocations: 129.5 kB / 452 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.3151, allocations: 7.031 kB / 452 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3153, allocations: 25.17 kB / 452 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3154, allocations: 23.31 kB / 452 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3155, allocations: 8.5 kB / 452 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.3158, allocations: 228.8 kB / 452.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3158, allocations: 1.094 kB / 452.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007544/0.3165, allocations: 114.1 kB / 452.4 MB, free: 9.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.3167, allocations: 108.1 kB / 452.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3177, allocations: 0.5588 MB / 453 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3177, allocations: 2.078 kB / 453 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.3184, allocations: 483.5 kB / 453.5 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3189, allocations: 61.98 kB / 453.6 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3203, allocations: 0.672 MB / 454.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.3208, allocations: 0.796 MB / 455 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.3209, allocations: 26.08 kB / 455 MB, free: 7.668 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3209, allocations: 0 / 455 MB, free: 7.668 MB / 366.1 MB Notification: Performance of Templates: time 0.01409/0.335, allocations: 8.489 MB / 463.5 MB, free: 5.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.825304688070901]