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.001424/0.001424, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001722/0.001722, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.523 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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.639e-05, allocations: 2.312 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.008876/0.008902, allocations: 2.089 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.00983, allocations: 0.5532 MB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.00992, allocations: 11.88 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.01003, allocations: 15.84 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.01012, allocations: 39.64 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.01039, allocations: 67.84 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.01064, allocations: 215.3 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.01076, allocations: 37.22 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.01092, allocations: 115.8 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.01318, allocations: 75.77 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.01323, allocations: 20 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.0133, allocations: 23.98 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.01334, allocations: 27.91 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.01342, allocations: 59.89 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.01372, allocations: 151.4 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01372, allocations: 0 / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01372, allocations: 0 / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.01373, allocations: 0 / 276.5 MB, free: 14.19 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.0007365/0.01446, allocations: 0.4978 MB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.01452, allocations: 15.98 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.01474, allocations: 28.84 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.01505, allocations: 175.6 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.01517, allocations: 141.1 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.0152, allocations: 20.31 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.01549, allocations: 184 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.01549, allocations: 4.188 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.01551, allocations: 8.125 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01552, allocations: 4 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.01569, allocations: 51.97 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.01652, allocations: 466.4 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.0168, allocations: 99.16 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.01687, allocations: 31.67 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01689, allocations: 4 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.01692, allocations: 33.39 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.534e-06/0.01692, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005861/0.01751, allocations: 165.1 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.01755, allocations: 55.34 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.0177, allocations: 201.2 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.01774, allocations: 33.7 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.01783, allocations: 166.6 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01786, allocations: 27.8 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01795, allocations: 47.25 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01812, allocations: 0.4961 MB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.01823, allocations: 49.69 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.01835, allocations: 88.73 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01852, allocations: 104.8 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01852, allocations: 0 / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004833/0.019, allocations: 236.5 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.01905, allocations: 40.81 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01905, allocations: 0 / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/0.01937, allocations: 63.66 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.01944, allocations: 15.92 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.02121, allocations: 1.885 MB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.02141, allocations: 27.92 kB / 281.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.02143, allocations: 11.92 kB / 281.9 MB, free: 8.316 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.0001149/0.02155, allocations: 164.6 kB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.02159, allocations: 27.83 kB / 282.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.02185, allocations: 118.1 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02185, allocations: 0 / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.02186, allocations: 4 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.02186, allocations: 0 / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.02205, allocations: 156.5 kB / 282.4 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.02206, allocations: 0 / 282.4 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.02211, allocations: 4 kB / 282.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.02227, allocations: 71.64 kB / 282.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.02229, allocations: 0 / 282.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.02363, allocations: 1.881 MB / 284.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02363, allocations: 4.031 kB / 284.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.0239, allocations: 259.5 kB / 284.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.02392, allocations: 11.91 kB / 284.6 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.02394, allocations: 4 kB / 284.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.02405, allocations: 15.92 kB / 284.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.02412, allocations: 11.98 kB / 284.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.02413, allocations: 4 kB / 284.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.08e-05/0.02421, allocations: 151.1 kB / 284.8 MB, free: 5.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02421, allocations: 4 kB / 284.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.02457, allocations: 44 kB / 284.8 MB, free: 5.188 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.0001378/0.02471, allocations: 95.25 kB / 284.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.02521, allocations: 341.6 kB / 285.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.02521, allocations: 4 kB / 285.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.0256, allocations: 217.4 kB / 285.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.02596, allocations: 33 kB / 285.5 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.02676, allocations: 258.6 kB / 285.8 MB, free: 4.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.02682, allocations: 71.83 kB / 285.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.02687, allocations: 12.34 kB / 285.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.02691, allocations: 20.5 kB / 285.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02691, allocations: 0 / 285.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of Templates: time 0.006847/0.03376, allocations: 3.138 MB / 289 MB, free: 0.9414 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.9078266960568726]