Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006694/0.006694, allocations: 102.7 kB / 21.97 MB, free: 5.211 MB / 14.72 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.001746/0.001746, allocations: 220.6 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.88 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2436, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003395/0.247, allocations: 2.078 MB / 435.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.248, allocations: 0.5844 MB / 435.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.2481, allocations: 4 kB / 435.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.2483, allocations: 15.8 kB / 435.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.2483, allocations: 39.69 kB / 435.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.2486, allocations: 71.83 kB / 436 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.2489, allocations: 215.3 kB / 436.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.249, allocations: 35.78 kB / 436.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.2491, allocations: 79.77 kB / 436.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2493, allocations: 95.64 kB / 436.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.2493, allocations: 20 kB / 436.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.2494, allocations: 20 kB / 436.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.2494, allocations: 35.84 kB / 436.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.2495, allocations: 79.7 kB / 436.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.2498, allocations: 187 kB / 436.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2498, allocations: 0 / 436.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2498, allocations: 0 / 436.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2498, allocations: 4 kB / 436.7 MB, free: 3.406 MB / 334.1 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.0007611/0.2506, allocations: 411.4 kB / 437.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2506, allocations: 12.03 kB / 437.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.2507, allocations: 24.83 kB / 437.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.251, allocations: 154.3 kB / 437.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2511, allocations: 97.66 kB / 437.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.2512, allocations: 20.25 kB / 437.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2515, allocations: 129.8 kB / 437.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2515, allocations: 0 / 437.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2515, allocations: 0 / 437.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2515, allocations: 4 kB / 437.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.2518, allocations: 111.7 kB / 437.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.2527, allocations: 494.4 kB / 438.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.2531, allocations: 98.72 kB / 438.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2532, allocations: 52.83 kB / 438.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.2532, allocations: 4 kB / 438.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2533, allocations: 38.44 kB / 438.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.2533, allocations: 0 / 438.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000808/0.2541, allocations: 222.3 kB / 438.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2541, allocations: 55.41 kB / 438.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2543, allocations: 149 kB / 438.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2543, allocations: 25.7 kB / 438.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.2544, allocations: 123.9 kB / 438.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.2544, allocations: 27.75 kB / 438.9 MB, free: 1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.2545, allocations: 33.7 kB / 439 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2547, allocations: 326.8 kB / 439.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2548, allocations: 63.97 kB / 439.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.255, allocations: 78.53 kB / 439.4 MB, free: 496 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.2554, allocations: 148.2 kB / 439.6 MB, free: 332 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2554, allocations: 0 / 439.6 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006158/0.256, allocations: 263.9 kB / 439.8 MB, free: 52 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.256, allocations: 37.69 kB / 439.9 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.256, allocations: 4 kB / 439.9 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.2563, allocations: 76.81 kB / 439.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.2564, allocations: 15.98 kB / 440 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.2582, allocations: 1.522 MB / 441.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.2585, allocations: 48.05 kB / 441.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2585, allocations: 8 kB / 441.5 MB, free: 14.21 MB / 350.1 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.0001256/0.2586, allocations: 121.8 kB / 441.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.2587, allocations: 11.91 kB / 441.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.2591, allocations: 171.1 kB / 441.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2591, allocations: 4 kB / 441.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.2591, allocations: 0 / 441.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2591, allocations: 3.984 kB / 441.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.2594, allocations: 188.6 kB / 442 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2594, allocations: 0 / 442 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.2594, allocations: 8 kB / 442 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.2596, allocations: 84.75 kB / 442.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2596, allocations: 3.938 kB / 442.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.2613, allocations: 1.51 MB / 443.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2613, allocations: 3.938 kB / 443.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.2617, allocations: 248.3 kB / 443.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.2617, allocations: 15.84 kB / 443.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2617, allocations: 0 / 443.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2619, allocations: 19.98 kB / 443.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2619, allocations: 11.97 kB / 443.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.262, allocations: 7.938 kB / 443.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.936e-05/0.262, allocations: 114.2 kB / 444 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.262, allocations: 4 kB / 444 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.2624, allocations: 47.94 kB / 444.1 MB, free: 11.46 MB / 350.1 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.000128/0.2625, allocations: 103.2 kB / 444.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006488/0.2632, allocations: 310 kB / 444.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2632, allocations: 128 / 444.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.2634, allocations: 170.6 kB / 444.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2638, allocations: 27.97 kB / 444.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.2643, allocations: 300.6 kB / 445 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.2646, allocations: 0.7084 MB / 445.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.2647, allocations: 11.44 kB / 445.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2647, allocations: 0 / 445.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Templates: time 0.004673/0.2694, allocations: 2.475 MB / 448.2 MB, free: 7.285 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.384392915992066]