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.001411/0.001411, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0012/0.0012, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 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.001/1.001, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.653e-06/1.653e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.406e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00262/0.002644, allocations: 2.069 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.003489, allocations: 0.5726 MB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.003588, allocations: 0 / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.003701, allocations: 15.8 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.003787, allocations: 47.64 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.004051, allocations: 59.91 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.004288, allocations: 223.2 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004397, allocations: 29.23 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.004532, allocations: 123.8 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.004676, allocations: 71.77 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.004705, allocations: 20 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.004752, allocations: 20 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.00478, allocations: 31.91 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.00483, allocations: 63.88 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.005013, allocations: 139.6 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005015, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005015, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.005019, allocations: 0 / 276.8 MB, free: 13.71 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.0004938/0.005513, allocations: 0.5056 MB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.005551, allocations: 15.97 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.005657, allocations: 32.84 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.005828, allocations: 167.8 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/0.005905, allocations: 145.1 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.005923, allocations: 16.38 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.006089, allocations: 176 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.006096, allocations: 192 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.00611, allocations: 12.12 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006115, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.00619, allocations: 49.23 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.006665, allocations: 455.1 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.006814, allocations: 79.22 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.006844, allocations: 23.67 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.006864, allocations: 0 / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.006887, allocations: 41.33 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.006888, allocations: 0 / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003366/0.007225, allocations: 153.2 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.007247, allocations: 55.34 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.007338, allocations: 205.7 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.007355, allocations: 29.7 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.007416, allocations: 162.6 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.007432, allocations: 27.78 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.007483, allocations: 47.3 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.00759, allocations: 496.1 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.007641, allocations: 53.67 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.007699, allocations: 80.73 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.007784, allocations: 96.69 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007787, allocations: 4 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002059/0.007992, allocations: 204.7 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.008021, allocations: 37.69 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.008025, allocations: 0 / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.008168, allocations: 63.7 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.008222, allocations: 27.8 kB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.009276, allocations: 1.835 MB / 282 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.009397, allocations: 40.12 kB / 282.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.009407, allocations: 4 kB / 282.1 MB, free: 8 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 7.62e-05/0.009484, allocations: 160.6 kB / 282.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.009509, allocations: 23.84 kB / 282.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.009647, allocations: 114.5 kB / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009649, allocations: 4 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.00965, allocations: 0 / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009653, allocations: 0 / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.009779, allocations: 129.2 kB / 282.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009781, allocations: 0 / 282.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.00981, allocations: 8 kB / 282.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-05/0.009909, allocations: 63.62 kB / 282.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.009916, allocations: 3.938 kB / 282.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009947/0.01091, allocations: 1.854 MB / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01091, allocations: 0 / 284.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.01111, allocations: 251.4 kB / 284.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.01112, allocations: 7.906 kB / 284.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.01113, allocations: 4 kB / 284.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.01122, allocations: 15.98 kB / 284.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.01127, allocations: 15.94 kB / 284.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01128, allocations: 8 kB / 284.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.838e-05/0.01133, allocations: 142.5 kB / 284.9 MB, free: 5.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01133, allocations: 0 / 284.9 MB, free: 5.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.01162, allocations: 48 kB / 284.9 MB, free: 4.973 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.0001003/0.01172, allocations: 91.25 kB / 285 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.01206, allocations: 341.6 kB / 285.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01206, allocations: 0 / 285.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.0122, allocations: 213.5 kB / 285.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01247, allocations: 35.03 kB / 285.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.01304, allocations: 262.5 kB / 285.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.01308, allocations: 75.83 kB / 285.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.01313, allocations: 8.344 kB / 285.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.01324, allocations: 102.2 kB / 286 MB, free: 3.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01324, allocations: 4 kB / 286 MB, free: 3.746 MB / 266.7 MB Notification: Performance of Templates: time 0.009568/0.02281, allocations: 3.301 MB / 289.3 MB, free: 500 kB / 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] 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","",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.758089974988252]