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.001813/0.001813, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.001997/0.001997, allocations: 145.1 kB / 24.26 MB, free: 168 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 1.568/1.568, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.292e-06/1.292e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.832e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00623/0.006258, allocations: 4.139 MB / 271.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.008306, allocations: 0.9112 MB / 272.4 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.008549, allocations: 11.94 kB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.008803, allocations: 95.06 kB / 272.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.009343, allocations: 218 kB / 272.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.009699, allocations: 163.7 kB / 272.9 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009889/0.01069, allocations: 0.7552 MB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.01099, allocations: 151.6 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.01159, allocations: 427.2 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/0.012, allocations: 251.2 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.01211, allocations: 64 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.01224, allocations: 60 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.01246, allocations: 151.4 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.01276, allocations: 227.4 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009261/0.01368, allocations: 0.7358 MB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01369, allocations: 0 / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01369, allocations: 0 / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.0137, allocations: 0 / 275.7 MB, free: 14.35 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.001758/0.01546, allocations: 0.9902 MB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.0155, allocations: 8.922 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.01568, allocations: 108.5 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.01629, allocations: 334.5 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.01633, allocations: 37.69 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.01642, allocations: 52.38 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.01743, allocations: 0.5574 MB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01745, allocations: 4.188 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.0175, allocations: 28.12 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.01752, allocations: 12 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.01841, allocations: 419.7 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.02174, allocations: 2.218 MB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.02285, allocations: 0.5116 MB / 280.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.02347, allocations: 345.2 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.02352, allocations: 8.5 kB / 281.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.02356, allocations: 49.81 kB / 281.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.734e-06/0.02356, allocations: 0 / 281.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.004625/0.02819, allocations: 1.717 MB / 283 MB, free: 6.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.02824, allocations: 63.89 kB / 283.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.02873, allocations: 426.8 kB / 283.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.02877, allocations: 33.7 kB / 283.5 MB, free: 6.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.029, allocations: 300.1 kB / 283.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.02922, allocations: 218.2 kB / 284.1 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.0296, allocations: 104 kB / 284.2 MB, free: 5.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003157/0.02992, allocations: 0.543 MB / 284.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.03027, allocations: 149.2 kB / 284.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.03065, allocations: 214.5 kB / 285.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.03139, allocations: 383.7 kB / 285.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.0314, allocations: 4 kB / 285.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001329/0.03273, allocations: 0.6674 MB / 286.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.03275, allocations: 15.88 kB / 286.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.03275, allocations: 0 / 286.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008388/0.03359, allocations: 274.5 kB / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.03389, allocations: 63.89 kB / 286.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1172/0.1511, allocations: 9.458 MB / 295.9 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.1515, allocations: 18.06 kB / 295.9 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.1515, allocations: 18.83 kB / 295.9 MB, free: 26.3 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.0002613/0.1518, allocations: 219.9 kB / 296.2 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.1519, allocations: 68.2 kB / 296.2 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.1521, allocations: 64.84 kB / 296.3 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1521, allocations: 6.562 kB / 296.3 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.1521, allocations: 1.031 kB / 296.3 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1521, allocations: 4.125 kB / 296.3 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.155, allocations: 1.272 MB / 297.6 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.155, allocations: 0 / 297.6 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.1555, allocations: 58.62 kB / 297.6 MB, free: 25.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.1566, allocations: 271.8 kB / 297.9 MB, free: 25.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.1566, allocations: 12.17 kB / 297.9 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007748/0.1644, allocations: 9.465 MB / 307.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1644, allocations: 0.6562 kB / 307.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.166, allocations: 1.053 MB / 308.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.1662, allocations: 79.41 kB / 308.5 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.1662, allocations: 10.91 kB / 308.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.1665, allocations: 15.48 kB / 308.5 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.1666, allocations: 56.94 kB / 308.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.1667, allocations: 18.02 kB / 308.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000265/0.1669, allocations: 295.3 kB / 308.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1669, allocations: 0.5 kB / 308.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008788/0.1678, allocations: 174.6 kB / 309.1 MB, free: 15.89 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.0001349/0.168, allocations: 110.3 kB / 309.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.1694, allocations: 1.245 MB / 310.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1694, allocations: 0 / 310.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.1704, allocations: 1.069 MB / 311.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.1709, allocations: 87.73 kB / 311.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.1729, allocations: 1.189 MB / 312.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1732, allocations: 276.9 kB / 313 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1734, allocations: 45.2 kB / 313.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.1734, allocations: 33.17 kB / 313.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1734, allocations: 0 / 313.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Templates: time 0.01277/0.1862, allocations: 8.556 MB / 321.7 MB, free: 7.184 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.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: 5.048962270026095]