Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.674e-05, allocations: 6.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003727/0.003764, allocations: 1.998 MB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004928, allocations: 0.5492 MB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.005013, allocations: 0 / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.005144, allocations: 19.8 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.005259, allocations: 39.64 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.005548, allocations: 71.83 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.00586, allocations: 215.3 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.005988, allocations: 33.27 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.006183, allocations: 123.7 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.006381, allocations: 67.84 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.006423, allocations: 20 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.006489, allocations: 20 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.006539, allocations: 31.89 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.006639, allocations: 63.83 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.006961, allocations: 199.4 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.006965, allocations: 4 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006966, allocations: 0 / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.006975, allocations: 3.984 kB / 275.7 MB, free: 14.3 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.000845/0.00782, allocations: 411.4 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007861, allocations: 15.98 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.008039, allocations: 28.84 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.008377, allocations: 161.5 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.008524, allocations: 149.1 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.008565, allocations: 16.38 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.008955, allocations: 205.4 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.008964, allocations: 192 / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.008989, allocations: 16.06 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.008996, allocations: 0 / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.009342, allocations: 107.9 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.01026, allocations: 427.3 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.01064, allocations: 102.7 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.01078, allocations: 40.84 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.01081, allocations: 7.984 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.01085, allocations: 42.48 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.01085, allocations: 0 / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009093/0.01176, allocations: 222.3 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.01181, allocations: 55.34 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01198, allocations: 149.8 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.01203, allocations: 29.7 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01214, allocations: 112 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.01217, allocations: 35.72 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.01226, allocations: 37.72 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.01247, allocations: 318.8 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.01268, allocations: 89.66 kB / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.0129, allocations: 108.2 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.01324, allocations: 156.2 kB / 278.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.01324, allocations: 4 kB / 278.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006891/0.01393, allocations: 309.5 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.01398, allocations: 29.7 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01399, allocations: 4 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.01425, allocations: 76.88 kB / 279.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.01435, allocations: 15.98 kB / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.01651, allocations: 1.468 MB / 280.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.01686, allocations: 55.94 kB / 280.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.01689, allocations: 8.125 kB / 280.6 MB, free: 8.973 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 0.0001377/0.01703, allocations: 125.8 kB / 280.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.01708, allocations: 15.91 kB / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.01753, allocations: 167.2 kB / 280.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.01753, allocations: 4 kB / 280.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01753, allocations: 3.984 kB / 280.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01754, allocations: 4 kB / 280.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.01775, allocations: 137.2 kB / 281 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01775, allocations: 0 / 281 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.01784, allocations: 15.92 kB / 281.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.01803, allocations: 76.81 kB / 281.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01804, allocations: 0 / 281.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.01972, allocations: 1.483 MB / 282.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.01972, allocations: 4 kB / 282.6 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.02018, allocations: 252.3 kB / 282.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.0202, allocations: 15.89 kB / 282.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.02022, allocations: 0 / 282.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.02037, allocations: 19.92 kB / 282.9 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.02044, allocations: 7.984 kB / 282.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.02045, allocations: 11.98 kB / 282.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.979e-05/0.02054, allocations: 106.6 kB / 283 MB, free: 6.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02054, allocations: 3.938 kB / 283 MB, free: 6.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.02086, allocations: 51.95 kB / 283.1 MB, free: 6.312 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.0001334/0.02099, allocations: 95.25 kB / 283.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.02166, allocations: 334.6 kB / 283.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02166, allocations: 0 / 283.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.02197, allocations: 175.3 kB / 283.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.02229, allocations: 39.83 kB / 283.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.02288, allocations: 256.9 kB / 284 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.02298, allocations: 97.67 kB / 284.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.143e-05/0.02302, allocations: 4.5 kB / 284.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.02306, allocations: 16.5 kB / 284.1 MB, free: 5.219 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02306, allocations: 3.938 kB / 284.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of Templates: time 0.007537/0.0306, allocations: 3.07 MB / 287.2 MB, free: 2.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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: 4.239193181972951]