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.001599/0.001599, allocations: 71.77 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.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.002444/0.002444, allocations: 167.2 kB / 24.99 MB, free: 8.793 MB / 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.302e-06/1.302e-06, allocations: 0 / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.884e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004003/0.004032, allocations: 4.198 MB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.005929, allocations: 1.005 MB / 278.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.006206, allocations: 15.94 kB / 278.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.006419, allocations: 95.06 kB / 278.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.006831, allocations: 210 kB / 278.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.007216, allocations: 191.6 kB / 278.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.007858, allocations: 0.763 MB / 279.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.008134, allocations: 151.7 kB / 279.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.008567, allocations: 435 kB / 280.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.008839, allocations: 247.2 kB / 280.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.008906, allocations: 60 kB / 280.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.009015, allocations: 67.98 kB / 280.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.00914, allocations: 147.4 kB / 280.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.009314, allocations: 231.4 kB / 280.9 MB, free: 10 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.009749, allocations: 0.4903 MB / 281.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.009753, allocations: 4 kB / 281.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.009755, allocations: 0 / 281.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.009763, allocations: 0 / 281.3 MB, free: 9.504 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.001035/0.0108, allocations: 0.9553 MB / 282.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01084, allocations: 12.03 kB / 282.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.01111, allocations: 136.5 kB / 282.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.0115, allocations: 338.5 kB / 282.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.01153, allocations: 37.69 kB / 282.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.01159, allocations: 52.33 kB / 282.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.01213, allocations: 479.4 kB / 283.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01215, allocations: 192 / 283.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.01218, allocations: 24.12 kB / 283.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.01219, allocations: 12 kB / 283.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.01258, allocations: 253.7 kB / 283.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.01436, allocations: 2.035 MB / 285.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.01488, allocations: 459.8 kB / 286.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.0152, allocations: 261.8 kB / 286.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.01523, allocations: 12.48 kB / 286.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.01526, allocations: 45.89 kB / 286.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.304e-06/0.01526, allocations: 0 / 286.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002312/0.01757, allocations: 1.4 MB / 287.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.0176, allocations: 55.91 kB / 287.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.01785, allocations: 370.7 kB / 288.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.01788, allocations: 45.62 kB / 288.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01801, allocations: 288.1 kB / 288.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.01811, allocations: 202.2 kB / 288.8 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.0182, allocations: 104 kB / 288.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.01834, allocations: 0.5196 MB / 289.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.01848, allocations: 89.25 kB / 289.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01864, allocations: 138.5 kB / 289.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.01895, allocations: 243.8 kB / 289.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01895, allocations: 0 / 289.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006152/0.01956, allocations: 0.5112 MB / 290.3 MB, free: 140 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.01958, allocations: 4 kB / 290.4 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01959, allocations: 0 / 290.4 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1237/0.1432, allocations: 219.5 kB / 290.6 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.1435, allocations: 57.03 kB / 290.6 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005003/0.1485, allocations: 8.867 MB / 299.5 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.1488, allocations: 17.95 kB / 299.5 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.1488, allocations: 15.14 kB / 299.5 MB, free: 19.87 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.0001688/0.149, allocations: 194.8 kB / 299.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1491, allocations: 65.94 kB / 299.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.1492, allocations: 63.69 kB / 299.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1492, allocations: 6.656 kB / 299.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.1492, allocations: 4.844 kB / 299.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1492, allocations: 3.922 kB / 299.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.152, allocations: 1.029 MB / 300.9 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.152, allocations: 0 / 300.9 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.1523, allocations: 55.44 kB / 300.9 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/0.1527, allocations: 227.2 kB / 301.2 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.1528, allocations: 13.05 kB / 301.2 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.1562, allocations: 8.86 MB / 310 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1562, allocations: 3.938 kB / 310 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.1571, allocations: 0.7862 MB / 310.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1572, allocations: 83.39 kB / 310.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1573, allocations: 12.36 kB / 310.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1574, allocations: 14.56 kB / 310.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1575, allocations: 53.22 kB / 311 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1575, allocations: 15.56 kB / 311 MB, free: 10.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1577, allocations: 264.2 kB / 311.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1577, allocations: 0 / 311.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006703/0.1584, allocations: 172.3 kB / 311.4 MB, free: 10.25 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.0001092/0.1585, allocations: 123.1 kB / 311.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000861/0.1593, allocations: 1.105 MB / 312.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1593, allocations: 0 / 312.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.1599, allocations: 0.9896 MB / 313.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1602, allocations: 82.44 kB / 313.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1618, allocations: 1.157 MB / 314.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1619, allocations: 145.6 kB / 315 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.162, allocations: 49.55 kB / 315.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.1621, allocations: 33.23 kB / 315.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1621, allocations: 0 / 315.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of Templates: time 0.009234/0.1713, allocations: 8.559 MB / 323.7 MB, free: 2.395 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.3633415270596743]