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.001311/0.001311, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001366/0.001366, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 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.577/1.577, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 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 0.001541/0.001541, allocations: 43.92 kB / 371 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2328, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005917/0.2387, allocations: 4.283 MB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.2408, allocations: 0.9421 MB / 428.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.241, allocations: 11.94 kB / 428.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.2413, allocations: 95.06 kB / 428.5 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2418, allocations: 202.2 kB / 428.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2422, allocations: 159.8 kB / 428.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.243, allocations: 0.736 MB / 429.6 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.2433, allocations: 151.7 kB / 429.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.2436, allocations: 294.9 kB / 430 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.244, allocations: 330.6 kB / 430.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.2441, allocations: 60 kB / 430.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2442, allocations: 60 kB / 430.4 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.2444, allocations: 147.5 kB / 430.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.2448, allocations: 334.3 kB / 430.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.2456, allocations: 0.7157 MB / 431.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2456, allocations: 4 kB / 431.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2456, allocations: 0 / 431.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.2456, allocations: 0 / 431.6 MB, free: 6.148 MB / 334.1 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.001733/0.2474, allocations: 0.8555 MB / 432.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.2474, allocations: 8.031 kB / 432.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.2476, allocations: 72.52 kB / 432.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.2483, allocations: 320.4 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.2483, allocations: 45.62 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2484, allocations: 52.36 kB / 433 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2495, allocations: 0.5454 MB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2495, allocations: 0 / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.2496, allocations: 23.98 kB / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.2496, allocations: 15.98 kB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/0.2505, allocations: 455.7 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.2538, allocations: 1.971 MB / 436 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009589/0.2547, allocations: 0.5151 MB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.2553, allocations: 358 kB / 436.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.2554, allocations: 12.48 kB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2554, allocations: 43 kB / 436.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.134e-06/0.2554, allocations: 0 / 436.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004641/0.2601, allocations: 1.728 MB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2601, allocations: 59.91 kB / 438.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.2605, allocations: 365.6 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.2606, allocations: 37.7 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.2608, allocations: 229.5 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.261, allocations: 210.2 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2611, allocations: 90.3 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2613, allocations: 358.8 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.2617, allocations: 169.2 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.2621, allocations: 216.8 kB / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.2628, allocations: 378.1 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2628, allocations: 0 / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00131/0.2642, allocations: 0.6602 MB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2642, allocations: 7.938 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2642, allocations: 0 / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.265, allocations: 259.1 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.2653, allocations: 63.98 kB / 441.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007406/0.2727, allocations: 7.085 MB / 448.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.2731, allocations: 24.08 kB / 448.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.2731, allocations: 20 kB / 448.8 MB, free: 4.203 MB / 350.1 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.0002644/0.2734, allocations: 169.8 kB / 449 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.2735, allocations: 51.67 kB / 449 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.2736, allocations: 64.95 kB / 449.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2736, allocations: 8 kB / 449.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.2736, allocations: 7.938 kB / 449.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2736, allocations: 3.984 kB / 449.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.2759, allocations: 1.299 MB / 450.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2759, allocations: 0 / 450.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.2762, allocations: 51.97 kB / 450.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007191/0.277, allocations: 267.3 kB / 450.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.277, allocations: 11.98 kB / 450.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/0.2843, allocations: 7.088 MB / 457.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2843, allocations: 0 / 457.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2862, allocations: 1.029 MB / 458.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.2865, allocations: 83.59 kB / 458.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.2865, allocations: 12 kB / 458.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.2868, allocations: 19.98 kB / 458.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.287, allocations: 56.39 kB / 459 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.287, allocations: 12 kB / 459 MB, free: 9.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.2873, allocations: 263.2 kB / 459.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2873, allocations: 0 / 459.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009007/0.2882, allocations: 172 kB / 459.4 MB, free: 8.992 MB / 366.1 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.000154/0.2883, allocations: 107.2 kB / 459.5 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.2901, allocations: 1.017 MB / 460.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2901, allocations: 0 / 460.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.2913, allocations: 0.8253 MB / 461.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.2918, allocations: 89.67 kB / 461.5 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.2942, allocations: 1.289 MB / 462.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.2948, allocations: 0.8754 MB / 463.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.2949, allocations: 52.53 kB / 463.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.295, allocations: 27.44 kB / 463.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.295, allocations: 0 / 463.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of Templates: time 0.01834/0.3133, allocations: 9.594 MB / 473.3 MB, free: 11.02 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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.2888245629146695]