Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.001406/0.001406, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001277/0.001277, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.057/1.057, allocations: 177.1 MB / 205 MB, free: 5.637 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.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.115e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.006265/0.006296, allocations: 2.094 MB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.01049, allocations: 0.5648 MB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.01059, allocations: 4 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.01072, allocations: 19.78 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.01082, allocations: 35.66 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.01115, allocations: 67.89 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.01143, allocations: 219.2 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.01157, allocations: 33.17 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.01176, allocations: 123.8 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.01198, allocations: 75.77 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.01203, allocations: 16 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.797e-05/0.0121, allocations: 20 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.01214, allocations: 35.91 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.01221, allocations: 59.83 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.01247, allocations: 143.6 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.01248, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01248, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.01248, allocations: 0 / 276.5 MB, free: 14.03 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.003705/0.01619, allocations: 0.5017 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.01623, allocations: 8.031 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.01641, allocations: 32.84 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.01667, allocations: 171.5 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.01677, allocations: 145.1 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.01681, allocations: 12.38 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.01707, allocations: 190.4 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.01708, allocations: 192 / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.01709, allocations: 12.12 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01711, allocations: 4 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.01724, allocations: 55.91 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.01796, allocations: 466.4 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.01821, allocations: 99.19 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.01827, allocations: 27.62 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.0183, allocations: 4 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.01833, allocations: 41.33 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.01833, allocations: 0 / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.003533/0.02186, allocations: 165.2 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.0219, allocations: 55.34 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.02204, allocations: 204.8 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.02206, allocations: 29.7 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.02215, allocations: 162.7 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.02217, allocations: 23.8 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.02225, allocations: 47.31 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004245/0.02267, allocations: 0.4923 MB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.02277, allocations: 53.69 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.02287, allocations: 84.73 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.02301, allocations: 108.7 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.02301, allocations: 0 / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000378/0.02339, allocations: 232.5 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.02343, allocations: 45.62 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.02343, allocations: 0 / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.02364, allocations: 67.64 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.0237, allocations: 8 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/0.02811, allocations: 1.884 MB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.02827, allocations: 35.91 kB / 281.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.02829, allocations: 7.938 kB / 281.9 MB, free: 8.156 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.02838, allocations: 164.6 kB / 282.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.02842, allocations: 15.91 kB / 282.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.02863, allocations: 118.1 kB / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.02863, allocations: 0 / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.02863, allocations: 192 / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02863, allocations: 3.984 kB / 282.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.02881, allocations: 164.5 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02881, allocations: 3.938 kB / 282.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.02885, allocations: 11.98 kB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.02898, allocations: 63.66 kB / 282.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.02899, allocations: 0 / 282.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.03012, allocations: 1.885 MB / 284.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.03013, allocations: 192 / 284.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.03035, allocations: 268 kB / 284.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.03036, allocations: 15.91 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.03038, allocations: 0 / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.03047, allocations: 19.92 kB / 284.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.03052, allocations: 7.984 kB / 284.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.03054, allocations: 11.98 kB / 284.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003076/0.03361, allocations: 139.2 kB / 284.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03361, allocations: 0 / 284.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.03392, allocations: 48 kB / 284.8 MB, free: 5.023 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.03404, allocations: 95.25 kB / 284.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.03449, allocations: 353.5 kB / 285.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03449, allocations: 0 / 285.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.03466, allocations: 217.4 kB / 285.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.03495, allocations: 23.98 kB / 285.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.03565, allocations: 262.6 kB / 285.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.0357, allocations: 71.83 kB / 285.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.03575, allocations: 8.484 kB / 285.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.03578, allocations: 12.5 kB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03578, allocations: 4 kB / 285.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of Templates: time 0.008444/0.04422, allocations: 3.125 MB / 289 MB, free: 0.793 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.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.1816951036453247]