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.002385/0.002385, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002369/0.002369, allocations: 160.1 kB / 25.03 MB, free: 8.418 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 1.377/1.377, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.332e-06/1.332e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.046e-05, allocations: 6.25 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006005/0.006035, allocations: 4.078 MB / 254.5 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.008288, allocations: 0.9433 MB / 255.4 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.00859, allocations: 11.94 kB / 255.4 MB, free: 2.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.008866, allocations: 95.08 kB / 255.5 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.009468, allocations: 206.1 kB / 255.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.009867, allocations: 179.6 kB / 255.9 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009668/0.01083, allocations: 0.755 MB / 256.7 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.01118, allocations: 147.7 kB / 256.8 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.01183, allocations: 423 kB / 257.2 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.01228, allocations: 251.2 kB / 257.5 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01238, allocations: 60 kB / 257.5 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.0125, allocations: 64 kB / 257.6 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.0127, allocations: 151.4 kB / 257.7 MB, free: 440 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.01299, allocations: 227.4 kB / 257.9 MB, free: 212 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000944/0.01393, allocations: 0.7358 MB / 258.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01394, allocations: 0 / 258.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01394, allocations: 0 / 258.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.01395, allocations: 0 / 258.7 MB, free: 15.47 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.001776/0.01572, allocations: 0.9824 MB / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.01577, allocations: 11.98 kB / 259.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.01596, allocations: 116.5 kB / 259.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.01652, allocations: 330.5 kB / 260.1 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.01657, allocations: 41.69 kB / 260.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-05/0.01666, allocations: 52.33 kB / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.01766, allocations: 0.5613 MB / 260.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.01767, allocations: 8.109 kB / 260.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.01772, allocations: 24.12 kB / 260.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.01774, allocations: 12 kB / 260.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.01862, allocations: 423.7 kB / 261.2 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.0219, allocations: 2.214 MB / 263.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.02285, allocations: 0.5155 MB / 264 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.02347, allocations: 349.2 kB / 264.3 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.02353, allocations: 12.48 kB / 264.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.02358, allocations: 41.89 kB / 264.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/0.02358, allocations: 0 / 264.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.004587/0.02817, allocations: 1.717 MB / 266.1 MB, free: 7.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.02823, allocations: 63.91 kB / 266.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.02872, allocations: 426.8 kB / 266.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.02876, allocations: 37.64 kB / 266.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.029, allocations: 296 kB / 266.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.02921, allocations: 226.2 kB / 267.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.02939, allocations: 112 kB / 267.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003196/0.02971, allocations: 0.5391 MB / 267.7 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.03006, allocations: 149.2 kB / 267.9 MB, free: 5.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.03044, allocations: 210.5 kB / 268.1 MB, free: 5.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.03115, allocations: 387.8 kB / 268.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.03116, allocations: 0 / 268.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001346/0.0325, allocations: 0.6752 MB / 269.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.03252, allocations: 8.031 kB / 269.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.03253, allocations: 4 kB / 269.2 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008458/0.03338, allocations: 274.4 kB / 269.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.03368, allocations: 63.89 kB / 269.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.04317, allocations: 9.453 MB / 278.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.04349, allocations: 15.98 kB / 279 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.04353, allocations: 16 kB / 279 MB, free: 10.32 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.0003007/0.04383, allocations: 212.6 kB / 279.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.04395, allocations: 67.66 kB / 279.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.0441, allocations: 68.75 kB / 279.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.04411, allocations: 8.031 kB / 279.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.04412, allocations: 0 / 279.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.04412, allocations: 7.984 kB / 279.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.04646, allocations: 1.271 MB / 280.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.04646, allocations: 0 / 280.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.04675, allocations: 64.02 kB / 280.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007594/0.04751, allocations: 278.8 kB / 280.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.04755, allocations: 19.94 kB / 281 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009404/0.05696, allocations: 9.454 MB / 290.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.05696, allocations: 4.062 kB / 290.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.05894, allocations: 1.044 MB / 291.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.05915, allocations: 79.62 kB / 291.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.05922, allocations: 19.92 kB / 291.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.05945, allocations: 12 kB / 291.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.05962, allocations: 60.39 kB / 291.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.05966, allocations: 16 kB / 291.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003404/0.06001, allocations: 291.1 kB / 291.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06001, allocations: 0 / 291.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00099/0.061, allocations: 172 kB / 292.1 MB, free: 12.59 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.0001783/0.06117, allocations: 115.2 kB / 292.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.06313, allocations: 1.24 MB / 293.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.06313, allocations: 0 / 293.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.06462, allocations: 1.072 MB / 294.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.06513, allocations: 85.56 kB / 294.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.06753, allocations: 1.176 MB / 295.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.0679, allocations: 283.5 kB / 296 MB, free: 8.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.06806, allocations: 44.3 kB / 296.1 MB, free: 8.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.06814, allocations: 32.5 kB / 296.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.06815, allocations: 4 kB / 296.1 MB, free: 8.328 MB / 282.7 MB Notification: Performance of Templates: time 0.01777/0.08592, allocations: 8.533 MB / 304.7 MB, free: 15.84 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.017565633985214]