Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9469/0.9469, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.045e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004774/0.004794, allocations: 4.201 MB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.006607, allocations: 1.016 MB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.006886, allocations: 11.94 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.007123, allocations: 91.08 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.007622, allocations: 218 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.008023, allocations: 195.6 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.008729, allocations: 0.7591 MB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.008993, allocations: 147.6 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.009497, allocations: 435 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.0098, allocations: 251.2 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.857e-05/0.009878, allocations: 60 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.009996, allocations: 64 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.01037, allocations: 151.4 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.01057, allocations: 227.4 kB / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.01108, allocations: 0.4942 MB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01108, allocations: 0 / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01108, allocations: 3.938 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01109, allocations: 0 / 281.3 MB, free: 9.191 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.001139/0.01223, allocations: 0.9592 MB / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.01227, allocations: 8.031 kB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.01254, allocations: 128.5 kB / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.0129, allocations: 346.5 kB / 282.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.01293, allocations: 37.69 kB / 282.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.01299, allocations: 56.33 kB / 282.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.01351, allocations: 463.5 kB / 283.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01352, allocations: 4.125 kB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.01356, allocations: 28.11 kB / 283.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01357, allocations: 12 kB / 283.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.01395, allocations: 253.8 kB / 283.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.01571, allocations: 2.042 MB / 285.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.01624, allocations: 451.8 kB / 286 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.01654, allocations: 261.8 kB / 286.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.01657, allocations: 8.5 kB / 286.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.01659, allocations: 45.89 kB / 286.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/0.0166, allocations: 0 / 286.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002618/0.01921, allocations: 1.404 MB / 287.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.01925, allocations: 59.91 kB / 287.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.01951, allocations: 374.7 kB / 288.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.01954, allocations: 33.7 kB / 288.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.01967, allocations: 288.1 kB / 288.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.01978, allocations: 206.2 kB / 288.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.01988, allocations: 99.95 kB / 288.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.02002, allocations: 0.5274 MB / 289.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.02015, allocations: 85.2 kB / 289.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.02031, allocations: 142.5 kB / 289.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.0206, allocations: 235.8 kB / 289.8 MB, free: 372 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.0206, allocations: 3.938 kB / 289.8 MB, free: 368 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1077/0.1283, allocations: 0.5097 MB / 290.3 MB, free: 25.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1283, allocations: 5.531 kB / 290.3 MB, free: 25.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1283, allocations: 1.484 kB / 290.3 MB, free: 25.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.1289, allocations: 219 kB / 290.5 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.1291, allocations: 60.09 kB / 290.6 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.1327, allocations: 8.862 MB / 299.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.1329, allocations: 21.59 kB / 299.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1329, allocations: 14.66 kB / 299.5 MB, free: 17.91 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.0001413/0.1331, allocations: 185.7 kB / 299.6 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.1332, allocations: 69.78 kB / 299.7 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.1332, allocations: 64.47 kB / 299.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1332, allocations: 7.297 kB / 299.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1332, allocations: 4.375 kB / 299.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1332, allocations: 3.688 kB / 299.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1344, allocations: 1.027 MB / 300.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1344, allocations: 1.125 kB / 300.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1345, allocations: 56.11 kB / 300.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.1349, allocations: 229 kB / 301.1 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1349, allocations: 11.39 kB / 301.1 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/0.1381, allocations: 8.859 MB / 310 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1381, allocations: 8.938 kB / 310 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.1389, allocations: 0.7785 MB / 310.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1391, allocations: 87.72 kB / 310.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1391, allocations: 14.06 kB / 310.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1392, allocations: 18.36 kB / 310.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.1393, allocations: 57.59 kB / 310.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1394, allocations: 19.28 kB / 310.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1395, allocations: 256.5 kB / 311.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1395, allocations: 0 / 311.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006148/0.1401, allocations: 171.2 kB / 311.4 MB, free: 8.441 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 0.0001147/0.1402, allocations: 117.9 kB / 311.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009294/0.1412, allocations: 1.112 MB / 312.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1412, allocations: 0 / 312.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006973/0.1419, allocations: 0.9884 MB / 313.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1423, allocations: 80.27 kB / 313.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1439, allocations: 1.158 MB / 314.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.1441, allocations: 147.3 kB / 315 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.1442, allocations: 44.86 kB / 315 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.1443, allocations: 34.31 kB / 315 MB, free: 5.918 MB / 266.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1443, allocations: 0 / 315 MB, free: 5.918 MB / 266.7 MB Notification: Performance of Templates: time 0.01113/0.1554, allocations: 8.922 MB / 324 MB, free: 0.6211 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1298823379911482]