Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00116/0.00116, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001195/0.001195, allocations: 174.2 kB / 25.33 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9568/0.9568, allocations: 158.6 MB / 187.2 MB, free: 2.523 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.318e-05, allocations: 17.34 kB / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004579/0.004612, allocations: 4.112 MB / 255.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.006322, allocations: 0.9471 MB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.006625, allocations: 8 kB / 256.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.006855, allocations: 102.9 kB / 256.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.007388, allocations: 210.1 kB / 256.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.007752, allocations: 167.7 kB / 256.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.008493, allocations: 0.7629 MB / 257.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.008735, allocations: 143.7 kB / 257.5 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.009207, allocations: 427 kB / 257.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.009489, allocations: 243.3 kB / 258.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.009565, allocations: 64 kB / 258.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.009634, allocations: 60 kB / 258.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.009759, allocations: 155.3 kB / 258.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.009934, allocations: 239.4 kB / 258.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.01039, allocations: 490.1 kB / 259.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01039, allocations: 0 / 259.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.01039, allocations: 0 / 259.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.01041, allocations: 0 / 259.2 MB, free: 11.42 MB / 250.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.001125/0.01153, allocations: 0.9476 MB / 260.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.01158, allocations: 15.98 kB / 260.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01171, allocations: 112.5 kB / 260.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.01207, allocations: 334.4 kB / 260.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.01209, allocations: 37.69 kB / 260.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.01215, allocations: 52.33 kB / 260.6 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.01268, allocations: 463.5 kB / 261.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01269, allocations: 4.125 kB / 261.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.01272, allocations: 24.12 kB / 261.1 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.01274, allocations: 16 kB / 261.1 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.01312, allocations: 249.8 kB / 261.4 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01491, allocations: 2.031 MB / 263.4 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.01543, allocations: 463.8 kB / 263.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.01572, allocations: 269.7 kB / 264.1 MB, free: 6.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.01576, allocations: 8.5 kB / 264.1 MB, free: 6.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.01578, allocations: 45.89 kB / 264.2 MB, free: 6.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.965e-06/0.01579, allocations: 0 / 264.2 MB, free: 6.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002368/0.01815, allocations: 1.392 MB / 265.6 MB, free: 4.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.01819, allocations: 55.91 kB / 265.6 MB, free: 4.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.01844, allocations: 366.8 kB / 266 MB, free: 4.297 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.01847, allocations: 33.7 kB / 266 MB, free: 4.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.0186, allocations: 284.1 kB / 266.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.01871, allocations: 214.2 kB / 266.5 MB, free: 3.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01881, allocations: 104 kB / 266.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01895, allocations: 0.5274 MB / 267.1 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.01908, allocations: 81.27 kB / 267.2 MB, free: 3.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.01923, allocations: 138.5 kB / 267.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.01952, allocations: 243.8 kB / 267.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.01952, allocations: 0 / 267.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007033/0.02023, allocations: 0.5112 MB / 268.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.02024, allocations: 4 kB / 268.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.02025, allocations: 0 / 268.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.02071, allocations: 234.4 kB / 268.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.02089, allocations: 55.97 kB / 268.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/0.026, allocations: 8.856 MB / 277.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.02617, allocations: 12 kB / 277.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.0262, allocations: 16 kB / 277.3 MB, free: 8.438 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.0001793/0.02638, allocations: 188.6 kB / 277.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.02645, allocations: 79.69 kB / 277.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.0265, allocations: 64.75 kB / 277.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02651, allocations: 4 kB / 277.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.02652, allocations: 4 kB / 277.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.02652, allocations: 3.984 kB / 277.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.02767, allocations: 1.025 MB / 278.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02768, allocations: 3.938 kB / 278.6 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.02782, allocations: 55.91 kB / 278.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.02822, allocations: 226.8 kB / 278.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.02825, allocations: 11.94 kB / 278.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/0.03271, allocations: 8.86 MB / 287.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.03271, allocations: 0 / 287.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008822/0.03359, allocations: 0.7822 MB / 288.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.03371, allocations: 79.61 kB / 288.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.03375, allocations: 15.94 kB / 288.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.03387, allocations: 20.11 kB / 288.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.03399, allocations: 64.42 kB / 288.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.03401, allocations: 12 kB / 288.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.03417, allocations: 255.1 kB / 289 MB, free: 12.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03417, allocations: 0 / 289 MB, free: 12.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006362/0.03481, allocations: 176 kB / 289.2 MB, free: 11.93 MB / 282.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.0001308/0.03494, allocations: 107.2 kB / 289.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.03596, allocations: 1.107 MB / 290.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03596, allocations: 3.938 kB / 290.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.03665, allocations: 0.9865 MB / 291.4 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.03703, allocations: 96.25 kB / 291.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.03901, allocations: 1.129 MB / 292.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.03915, allocations: 154.7 kB / 292.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.03927, allocations: 48.34 kB / 292.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.03934, allocations: 32.5 kB / 292.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of SimCode: time 1.874e-06/0.03934, allocations: 0 / 292.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of Templates: time 0.1105/0.1498, allocations: 8.889 MB / 301.7 MB, free: 54.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1608661599457264]