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.001363/0.001363, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001432/0.001432, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9301/0.9301, allocations: 173.4 MB / 201.1 MB, free: 9.344 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 1.122e-06/1.122e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.277e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003393/0.003406, allocations: 4.181 MB / 272.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004836, allocations: 0.9151 MB / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.005051, allocations: 11.94 kB / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.005246, allocations: 99 kB / 273.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.005672, allocations: 210.1 kB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.005945, allocations: 167.6 kB / 273.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.006503, allocations: 0.7552 MB / 274.3 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.006741, allocations: 151.6 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.007122, allocations: 427 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.00737, allocations: 247.2 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.007434, allocations: 60 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.007517, allocations: 64 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.007628, allocations: 147.4 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.007782, allocations: 231.4 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.008161, allocations: 0.4903 MB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.008164, allocations: 0 / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008164, allocations: 0 / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.008171, allocations: 0 / 276.1 MB, free: 14.26 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.0008795/0.009051, allocations: 0.9476 MB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.009085, allocations: 8.922 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.009196, allocations: 112.5 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.009504, allocations: 326.5 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.009528, allocations: 41.67 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.009578, allocations: 48.38 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.01006, allocations: 471.5 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01007, allocations: 4.188 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.01011, allocations: 24.12 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01012, allocations: 15.98 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.01046, allocations: 253.7 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.01209, allocations: 2.031 MB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.01257, allocations: 455.8 kB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.01284, allocations: 261.7 kB / 281.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.01287, allocations: 12.5 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.01289, allocations: 41.89 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.553e-06/0.01289, allocations: 0 / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002083/0.01497, allocations: 1.392 MB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.015, allocations: 63.84 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.01522, allocations: 366.8 kB / 283 MB, free: 7.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01524, allocations: 37.7 kB / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01535, allocations: 284.1 kB / 283.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.01546, allocations: 210.2 kB / 283.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.01556, allocations: 99.98 kB / 283.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01567, allocations: 0.5157 MB / 284.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.0158, allocations: 89.25 kB / 284.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.01595, allocations: 134.5 kB / 284.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.01623, allocations: 243.8 kB / 284.5 MB, free: 5.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01623, allocations: 0 / 284.5 MB, free: 5.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005788/0.01681, allocations: 0.5112 MB / 285.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01683, allocations: 11.98 kB / 285.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01683, allocations: 0 / 285.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.01724, allocations: 226.4 kB / 285.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.0174, allocations: 55.91 kB / 285.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1074/0.1248, allocations: 8.861 MB / 294.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.125, allocations: 16.16 kB / 294.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.125, allocations: 19.53 kB / 294.2 MB, free: 24.6 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.0001307/0.1252, allocations: 181.2 kB / 294.4 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.1253, allocations: 76.06 kB / 294.5 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.1253, allocations: 64.3 kB / 294.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1253, allocations: 5.75 kB / 294.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1253, allocations: 2.875 kB / 294.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1253, allocations: 2.719 kB / 294.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.1267, allocations: 1.027 MB / 295.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1267, allocations: 0 / 295.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1269, allocations: 58.41 kB / 295.7 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.1273, allocations: 222.6 kB / 295.9 MB, free: 24.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.1274, allocations: 18.48 kB / 295.9 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.1308, allocations: 8.869 MB / 304.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1308, allocations: 0.8438 kB / 304.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.1318, allocations: 0.7818 MB / 305.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1319, allocations: 78.33 kB / 305.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1319, allocations: 15.73 kB / 305.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1321, allocations: 14.34 kB / 305.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1322, allocations: 57.97 kB / 305.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1322, allocations: 19.22 kB / 305.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1324, allocations: 255.3 kB / 306 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1324, allocations: 0 / 306 MB, free: 15.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007562/0.1332, allocations: 171.5 kB / 306.1 MB, free: 15.8 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.0001019/0.1333, allocations: 112.5 kB / 306.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009165/0.1342, allocations: 1.106 MB / 307.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1342, allocations: 0 / 307.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.1348, allocations: 0.9953 MB / 308.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.1352, allocations: 86.14 kB / 308.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.137, allocations: 1.144 MB / 309.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.1371, allocations: 148.5 kB / 309.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1372, allocations: 49.2 kB / 309.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.1373, allocations: 33.38 kB / 309.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1373, allocations: 0 / 309.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.01235/0.1496, allocations: 8.916 MB / 318.7 MB, free: 8.941 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.1680906391702592]