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.001015/0.001015, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001191/0.001191, allocations: 169.7 kB / 24.82 MB, free: 9.254 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.962/0.962, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.422e-06/1.422e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.385e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002037/0.00205, allocations: 2.073 MB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.00273, allocations: 0.561 MB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.002806, allocations: 3.938 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.002896, allocations: 15.86 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.002961, allocations: 39.64 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.003159, allocations: 75.77 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.003348, allocations: 219.2 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.003445, allocations: 29.23 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.003561, allocations: 123.8 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.003689, allocations: 63.84 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.003715, allocations: 20 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-05/0.003761, allocations: 23.98 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.003785, allocations: 27.91 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.00383, allocations: 63.83 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.003988, allocations: 147.6 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.003989, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.00399, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.003993, allocations: 4 kB / 276.9 MB, free: 13.79 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.0006283/0.004621, allocations: 0.5016 MB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.004653, allocations: 8.031 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.004746, allocations: 36.84 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.004888, allocations: 163.6 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.004952, allocations: 149.1 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.004969, allocations: 16.31 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.005112, allocations: 176.8 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.005118, allocations: 4.188 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005128, allocations: 8.125 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005133, allocations: 4 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.0052, allocations: 46.25 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.005619, allocations: 451.1 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.005753, allocations: 91.12 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.005779, allocations: 19.69 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.005796, allocations: 4 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.005813, allocations: 41.38 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005814, allocations: 0 / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002943/0.006109, allocations: 141.2 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.006128, allocations: 55.41 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.00621, allocations: 208.7 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.006226, allocations: 33.7 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.006279, allocations: 158.6 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.006295, allocations: 31.77 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.006346, allocations: 43.31 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.00644, allocations: 0.4884 MB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.006486, allocations: 57.62 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.006542, allocations: 84.72 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.006617, allocations: 96.69 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006619, allocations: 0 / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001792/0.006798, allocations: 204.6 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.006821, allocations: 33.7 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006824, allocations: 0 / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.006947, allocations: 63.7 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.006987, allocations: 19.92 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008448/0.007832, allocations: 1.843 MB / 282.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.007938, allocations: 39.94 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.007947, allocations: 4 kB / 282.2 MB, free: 8.082 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 6.695e-05/0.008014, allocations: 164.5 kB / 282.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.008037, allocations: 19.84 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.008155, allocations: 106.5 kB / 282.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.008156, allocations: 4 kB / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.008157, allocations: 0 / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.00816, allocations: 3.984 kB / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.008264, allocations: 121.2 kB / 282.6 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008265, allocations: 4 kB / 282.6 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.008293, allocations: 11.98 kB / 282.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.008377, allocations: 59.64 kB / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.008382, allocations: 3.938 kB / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008981/0.00928, allocations: 1.854 MB / 284.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009281, allocations: 0 / 284.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.009409, allocations: 259.5 kB / 284.7 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.009417, allocations: 7.906 kB / 284.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-06/0.009424, allocations: 4 kB / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.009483, allocations: 15.98 kB / 284.8 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.009515, allocations: 7.984 kB / 284.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.00952, allocations: 4 kB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.009559, allocations: 147.2 kB / 284.9 MB, free: 5.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.009559, allocations: 0 / 284.9 MB, free: 5.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.009731, allocations: 48 kB / 285 MB, free: 5.059 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 6.543e-05/0.009796, allocations: 95.25 kB / 285.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.01007, allocations: 341.5 kB / 285.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01007, allocations: 0 / 285.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.01021, allocations: 213.5 kB / 285.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.01047, allocations: 32.09 kB / 285.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.01096, allocations: 262.5 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.011, allocations: 67.84 kB / 286 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.01104, allocations: 16.47 kB / 286 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01114, allocations: 102.2 kB / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01114, allocations: 0 / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of Templates: time 0.005157/0.0163, allocations: 3.311 MB / 289.4 MB, free: 0.5781 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: 2.676946251653135]