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.001283/0.001283, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001446/0.001446, allocations: 169.6 kB / 25.6 MB, free: 8.598 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.089/1.089, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.954e-06/1.954e-06, allocations: 0 / 251.5 MB, free: 7.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.162e-05, allocations: 2.312 kB / 251.5 MB, free: 7.098 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004339/0.00437, allocations: 4.058 MB / 255.5 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.006738, allocations: 0.951 MB / 256.5 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.007053, allocations: 12 kB / 256.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.007302, allocations: 98.94 kB / 256.6 MB, free: 1.949 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.007866, allocations: 210 kB / 256.8 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.008216, allocations: 167.7 kB / 257 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.008873, allocations: 0.7551 MB / 257.7 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.009113, allocations: 147.6 kB / 257.9 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.009499, allocations: 427 kB / 258.3 MB, free: 252 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.009794, allocations: 251.2 kB / 258.5 MB, free: 0 / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.009863, allocations: 64.05 kB / 258.6 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.009934, allocations: 60 kB / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.01006, allocations: 151.4 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.01022, allocations: 235.4 kB / 259 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.01064, allocations: 494.1 kB / 259.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01064, allocations: 0 / 259.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01064, allocations: 0 / 259.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01065, allocations: 0 / 259.5 MB, free: 15.01 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.001075/0.01172, allocations: 0.9475 MB / 260.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.01178, allocations: 15.98 kB / 260.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.01191, allocations: 120.4 kB / 260.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.01227, allocations: 314.5 kB / 260.9 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.0123, allocations: 37.69 kB / 260.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.01235, allocations: 56.33 kB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.0128, allocations: 435.4 kB / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01281, allocations: 192 / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.01284, allocations: 24.12 kB / 261.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.01285, allocations: 12 kB / 261.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.0131, allocations: 210.7 kB / 261.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.01483, allocations: 1.984 MB / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.01527, allocations: 411.9 kB / 264 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.01549, allocations: 237.6 kB / 264.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.01553, allocations: 8.5 kB / 264.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.01555, allocations: 45.88 kB / 264.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.01556, allocations: 4 kB / 264.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001886/0.01744, allocations: 1.217 MB / 265.6 MB, free: 8.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.01748, allocations: 67.84 kB / 265.6 MB, free: 8.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.01769, allocations: 358.6 kB / 266 MB, free: 8.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.01772, allocations: 33.7 kB / 266 MB, free: 8.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01785, allocations: 288 kB / 266.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.01796, allocations: 214.2 kB / 266.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.01805, allocations: 95.94 kB / 266.6 MB, free: 7.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.01821, allocations: 0.5273 MB / 267.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.01829, allocations: 65.25 kB / 267.2 MB, free: 7.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01841, allocations: 122.4 kB / 267.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.01863, allocations: 203.8 kB / 267.5 MB, free: 6.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01863, allocations: 0 / 267.5 MB, free: 6.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000651/0.01928, allocations: 471.4 kB / 268 MB, free: 6.215 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.01931, allocations: 8 kB / 268 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.01932, allocations: 3.984 kB / 268 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/0.0199, allocations: 222.4 kB / 268.2 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.02013, allocations: 55.97 kB / 268.2 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.0264, allocations: 8.702 MB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.02658, allocations: 16 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.02661, allocations: 15.88 kB / 277 MB, free: 12.73 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.000184/0.0268, allocations: 192.5 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.0269, allocations: 71.7 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.02697, allocations: 60.75 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.02698, allocations: 8 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.02699, allocations: 0 / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.027, allocations: 3.984 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.02844, allocations: 0.9241 MB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02845, allocations: 0 / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.02866, allocations: 55.91 kB / 278.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.02913, allocations: 218.9 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.02916, allocations: 12 kB / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005827/0.03499, allocations: 8.706 MB / 287.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.03499, allocations: 4 kB / 287.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.03602, allocations: 0.7157 MB / 287.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.03618, allocations: 87.58 kB / 288 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.03622, allocations: 12 kB / 288 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.03641, allocations: 15.98 kB / 288 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.03651, allocations: 56.39 kB / 288.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.03653, allocations: 12 kB / 288.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.03665, allocations: 235 kB / 288.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03665, allocations: 0 / 288.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005584/0.0372, allocations: 176 kB / 288.5 MB, free: 0.6289 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.0001335/0.03734, allocations: 119.1 kB / 288.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008763/0.03821, allocations: 1.064 MB / 289.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.03822, allocations: 8.062 kB / 289.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.03883, allocations: 0.9708 MB / 290.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.03916, allocations: 93.44 kB / 290.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.04075, allocations: 1.117 MB / 291.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.04086, allocations: 146.8 kB / 292 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.04095, allocations: 32.39 kB / 292.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.0411, allocations: 150.1 kB / 292.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.0411, allocations: 0 / 292.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01214/0.05325, allocations: 9.032 MB / 301.2 MB, free: 3.742 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.4833871419541538]