Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 142.7 kB / 24.97 MB, free: 8.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9459/0.9459, allocations: 173.4 MB / 201.5 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.338e-05, allocations: 2.312 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003588/0.003601, allocations: 4.158 MB / 272.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.004583, allocations: 0.9189 MB / 273.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.004729, allocations: 12 kB / 273.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.004882, allocations: 106.9 kB / 273.3 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.005175, allocations: 206 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.00537, allocations: 163.8 kB / 273.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.005827, allocations: 0.7591 MB / 274.4 MB, free: 352 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.006026, allocations: 151.6 kB / 274.6 MB, free: 196 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.006354, allocations: 427.1 kB / 275 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.00658, allocations: 243.2 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.006639, allocations: 60 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.006694, allocations: 64 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.006791, allocations: 151.4 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.006937, allocations: 235.4 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.007283, allocations: 490.1 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.007285, allocations: 0 / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.007285, allocations: 0 / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.00729, allocations: 4 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008902/0.00818, allocations: 0.9476 MB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.008218, allocations: 8.922 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.008336, allocations: 112.5 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.008692, allocations: 334.4 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.008718, allocations: 37.69 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.008769, allocations: 48.38 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.009251, allocations: 467.5 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.009264, allocations: 8.125 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.009294, allocations: 24.12 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.009305, allocations: 12 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.009897, allocations: 253.8 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01145, allocations: 2.031 MB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.0119, allocations: 463.8 kB / 280.9 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.01217, allocations: 257.8 kB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.0122, allocations: 12.5 kB / 281.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01222, allocations: 37.89 kB / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.703e-06/0.01222, allocations: 0 / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002044/0.01426, allocations: 1.396 MB / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.01429, allocations: 59.91 kB / 282.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.0145, allocations: 362.8 kB / 283 MB, free: 7.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01453, allocations: 37.7 kB / 283 MB, free: 7.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01463, allocations: 284.1 kB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.01473, allocations: 214.2 kB / 283.5 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.01482, allocations: 96 kB / 283.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01494, allocations: 0.5235 MB / 284.1 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.01507, allocations: 85.27 kB / 284.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.01522, allocations: 138.5 kB / 284.4 MB, free: 6.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.0155, allocations: 243.8 kB / 284.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.0155, allocations: 0 / 284.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005656/0.01607, allocations: 0.5151 MB / 285.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01608, allocations: 6.969 kB / 285.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01609, allocations: 4 kB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.01649, allocations: 230.4 kB / 285.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01664, allocations: 51.97 kB / 285.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09461/0.1113, allocations: 8.865 MB / 294.3 MB, free: 28.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1114, allocations: 14.67 kB / 294.3 MB, free: 28.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1115, allocations: 15.41 kB / 294.3 MB, free: 28.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.1116, allocations: 188.7 kB / 294.5 MB, free: 27.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.1117, allocations: 67.05 kB / 294.6 MB, free: 27.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.1117, allocations: 63.05 kB / 294.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1117, allocations: 14.98 kB / 294.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1117, allocations: 4.047 kB / 294.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1117, allocations: 2.906 kB / 294.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1128, allocations: 1.021 MB / 295.7 MB, free: 27.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1128, allocations: 0 / 295.7 MB, free: 27.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1129, allocations: 58.7 kB / 295.7 MB, free: 27.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.1133, allocations: 229.5 kB / 295.9 MB, free: 27.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1133, allocations: 13.44 kB / 295.9 MB, free: 27.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.1161, allocations: 8.861 MB / 304.8 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1161, allocations: 2.125 kB / 304.8 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.1169, allocations: 0.7863 MB / 305.6 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.117, allocations: 79.84 kB / 305.7 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.117, allocations: 10.88 kB / 305.7 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1172, allocations: 18.77 kB / 305.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1173, allocations: 57.73 kB / 305.8 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1173, allocations: 19.27 kB / 305.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1174, allocations: 256.6 kB / 306 MB, free: 18.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1174, allocations: 1.156 kB / 306 MB, free: 18.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.118, allocations: 174.1 kB / 306.2 MB, free: 18.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 9.691e-05/0.1181, allocations: 111.9 kB / 306.3 MB, free: 18.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000799/0.1189, allocations: 1.107 MB / 307.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1189, allocations: 0 / 307.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.1194, allocations: 0.9937 MB / 308.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1197, allocations: 77 kB / 308.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1212, allocations: 1.149 MB / 309.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.1213, allocations: 145.1 kB / 309.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1214, allocations: 48.22 kB / 309.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1215, allocations: 32.64 kB / 309.9 MB, free: 16.03 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1215, allocations: 0 / 309.9 MB, free: 16.03 MB / 266.7 MB Notification: Performance of Templates: time 0.009395/0.1309, allocations: 8.551 MB / 318.4 MB, free: 11.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.151898676995188]