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.0009275/0.0009275, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009526/0.0009526, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9564/0.9564, allocations: 177 MB / 204.8 MB, free: 5.574 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.393e-06/1.393e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.943e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002692/0.002721, allocations: 2.082 MB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003744, allocations: 0.5571 MB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003851, allocations: 4 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.003988, allocations: 23.72 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.00409, allocations: 43.64 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.004435, allocations: 67.89 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.004726, allocations: 215.2 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.004868, allocations: 37.22 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.005027, allocations: 119.8 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.005216, allocations: 67.83 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.005252, allocations: 23.94 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.005311, allocations: 20 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.005348, allocations: 35.91 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.005415, allocations: 59.89 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.005661, allocations: 147.5 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.005665, allocations: 0 / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005666, allocations: 0 / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.005672, allocations: 0 / 276.4 MB, free: 13.92 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.0007475/0.00642, allocations: 0.4978 MB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.006468, allocations: 11.98 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.00665, allocations: 32.84 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.006923, allocations: 177.1 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.007026, allocations: 141.1 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.007047, allocations: 12.38 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.007281, allocations: 188 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.007291, allocations: 192 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.007313, allocations: 12.12 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.007322, allocations: 0 / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.007439, allocations: 55.91 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.008092, allocations: 470.4 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.008313, allocations: 91.22 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.00836, allocations: 31.61 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.008382, allocations: 4 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.00841, allocations: 33.39 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.008411, allocations: 0 / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004363/0.008847, allocations: 173.1 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.008879, allocations: 55.34 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.008989, allocations: 201.8 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.009011, allocations: 29.7 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.00908, allocations: 166.7 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.009097, allocations: 23.8 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.009153, allocations: 43.31 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.009268, allocations: 0.4961 MB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.009342, allocations: 49.69 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.009421, allocations: 84.73 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.00954, allocations: 108.8 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009542, allocations: 0 / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003124/0.009854, allocations: 244.4 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.009892, allocations: 36.81 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.009898, allocations: 0 / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.01011, allocations: 67.7 kB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.01016, allocations: 19.98 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.01135, allocations: 1.869 MB / 281.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.01149, allocations: 39.94 kB / 281.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.0115, allocations: 7.938 kB / 281.8 MB, free: 8.043 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 8.584e-05/0.01158, allocations: 164.6 kB / 282 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.01161, allocations: 15.84 kB / 282 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.01178, allocations: 114.1 kB / 282.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01178, allocations: 7.938 kB / 282.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01178, allocations: 0 / 282.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01179, allocations: 7.984 kB / 282.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.01191, allocations: 160.5 kB / 282.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01192, allocations: 0 / 282.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.01195, allocations: 11.98 kB / 282.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.01206, allocations: 55.66 kB / 282.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.01207, allocations: 4 kB / 282.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.01308, allocations: 1.889 MB / 284.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01308, allocations: 0 / 284.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.0133, allocations: 255.5 kB / 284.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.01331, allocations: 11.91 kB / 284.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.01332, allocations: 4 kB / 284.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.01339, allocations: 19.95 kB / 284.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.01345, allocations: 7.984 kB / 284.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.01346, allocations: 11.98 kB / 284.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.01351, allocations: 150.5 kB / 284.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01351, allocations: 0 / 284.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.01371, allocations: 44 kB / 284.7 MB, free: 4.918 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 9.306e-05/0.0138, allocations: 99.25 kB / 284.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.01414, allocations: 341.6 kB / 285.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01414, allocations: 8.125 kB / 285.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01426, allocations: 213.4 kB / 285.4 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01448, allocations: 36.2 kB / 285.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.01504, allocations: 266.5 kB / 285.7 MB, free: 3.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.01508, allocations: 71.83 kB / 285.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.01512, allocations: 8.359 kB / 285.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.01514, allocations: 12.5 kB / 285.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01514, allocations: 0 / 285.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004558/0.0197, allocations: 3.276 MB / 289.1 MB, free: 0.5352 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=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.7508729551918805]