Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009326/0.0009326, allocations: 80.41 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.0009203/0.0009203, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9204/0.9204, allocations: 177.1 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.906e-05, allocations: 2.938 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005367/0.005386, allocations: 4.13 MB / 278.4 MB, free: 248 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.007305, allocations: 0.9939 MB / 279.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.007534, allocations: 11.94 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.007783, allocations: 102.9 kB / 279.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.008272, allocations: 206.1 kB / 279.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.008669, allocations: 199.6 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.009425, allocations: 0.7669 MB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.009711, allocations: 143.7 kB / 280.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.01021, allocations: 431 kB / 281.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.01044, allocations: 247.2 kB / 281.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.0105, allocations: 64 kB / 281.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.01058, allocations: 60 kB / 281.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.01068, allocations: 159.3 kB / 281.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.01082, allocations: 227.4 kB / 281.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.01118, allocations: 0.4942 MB / 282.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01118, allocations: 4 kB / 282.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01118, allocations: 0 / 282.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01119, allocations: 4 kB / 282.4 MB, free: 12.15 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.0008529/0.01204, allocations: 0.9552 MB / 283.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.01207, allocations: 8.031 kB / 283.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.01228, allocations: 136.5 kB / 283.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.01257, allocations: 330.5 kB / 283.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.01259, allocations: 41.69 kB / 283.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.01264, allocations: 52.36 kB / 283.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.01302, allocations: 435.4 kB / 284.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01303, allocations: 192 / 284.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.01306, allocations: 32.05 kB / 284.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.01307, allocations: 12 kB / 284.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.0133, allocations: 206.8 kB / 284.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.01473, allocations: 1.984 MB / 286.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.01511, allocations: 419.8 kB / 287 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.01532, allocations: 241.6 kB / 287.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.01535, allocations: 16.42 kB / 287.3 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.01537, allocations: 41.89 kB / 287.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.633e-06/0.01537, allocations: 0 / 287.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001754/0.01712, allocations: 1.225 MB / 288.5 MB, free: 5.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.01715, allocations: 63.84 kB / 288.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.01733, allocations: 362.6 kB / 288.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.01735, allocations: 33.7 kB / 289 MB, free: 5.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01747, allocations: 296 kB / 289.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/0.01756, allocations: 210.1 kB / 289.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.01765, allocations: 99.95 kB / 289.6 MB, free: 4.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01777, allocations: 0.5273 MB / 290.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.01785, allocations: 65.25 kB / 290.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01796, allocations: 114.5 kB / 290.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.01816, allocations: 207.7 kB / 290.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01816, allocations: 0 / 290.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004584/0.01862, allocations: 483.4 kB / 290.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.01863, allocations: 4 kB / 290.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01863, allocations: 0 / 290.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.01898, allocations: 214.5 kB / 291.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01913, allocations: 55.91 kB / 291.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.02285, allocations: 8.71 MB / 299.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.02296, allocations: 12 kB / 299.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.02298, allocations: 19.92 kB / 299.9 MB, free: 9.809 MB / 282.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.0001136/0.02309, allocations: 184.6 kB / 300.1 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.02316, allocations: 75.64 kB / 300.2 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.02321, allocations: 60.8 kB / 300.3 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02321, allocations: 4 kB / 300.3 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.02322, allocations: 4 kB / 300.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.02322, allocations: 3.984 kB / 300.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.02411, allocations: 0.9319 MB / 301.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02412, allocations: 0 / 301.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.02425, allocations: 59.91 kB / 301.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003187/0.02457, allocations: 222.7 kB / 301.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.02459, allocations: 12 kB / 301.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.02823, allocations: 8.696 MB / 310.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02823, allocations: 0 / 310.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.02888, allocations: 0.7157 MB / 310.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.02898, allocations: 87.55 kB / 311 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.02901, allocations: 12.03 kB / 311 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.02913, allocations: 15.98 kB / 311 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.02923, allocations: 60.33 kB / 311.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.02924, allocations: 8 kB / 311.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.02935, allocations: 251 kB / 311.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02935, allocations: 0 / 311.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.02989, allocations: 168 kB / 311.5 MB, free: 13.7 MB / 298.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 9.141e-05/0.02998, allocations: 115.2 kB / 311.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.03072, allocations: 1.068 MB / 312.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.03073, allocations: 0 / 312.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.0313, allocations: 0.9708 MB / 313.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.03161, allocations: 89.73 kB / 313.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.03309, allocations: 1.136 MB / 314.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.03321, allocations: 146.8 kB / 315 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.177e-05/0.0333, allocations: 36.38 kB / 315 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.03346, allocations: 150.1 kB / 315.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03346, allocations: 0 / 315.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of Templates: time 0.01154/0.04499, allocations: 9.265 MB / 324.5 MB, free: 0.6328 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.1600156049244106]