Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.996 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 47.92 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2458, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003768/0.2495, allocations: 2.073 MB / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2506, allocations: 0.5844 MB / 434.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.2507, allocations: 3.938 kB / 434.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2508, allocations: 19.86 kB / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.2509, allocations: 47.62 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2512, allocations: 63.86 kB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.2515, allocations: 211.3 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2516, allocations: 40.89 kB / 434.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2518, allocations: 83.77 kB / 434.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.252, allocations: 83.72 kB / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.252, allocations: 19.94 kB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.2521, allocations: 32 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.2521, allocations: 31.84 kB / 434.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2522, allocations: 83.69 kB / 435 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.2525, allocations: 185.9 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2525, allocations: 0 / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2525, allocations: 0 / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2525, allocations: 0 / 435.2 MB, free: 3.359 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.0008102/0.2533, allocations: 415.4 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2533, allocations: 8.031 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.2535, allocations: 24.83 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.2538, allocations: 161.4 kB / 435.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2539, allocations: 149.1 kB / 435.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.254, allocations: 12.38 kB / 435.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.2543, allocations: 131.3 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2543, allocations: 4 kB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.2543, allocations: 4 kB / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2543, allocations: 4 kB / 436.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.2547, allocations: 107.8 kB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.2556, allocations: 490.5 kB / 436.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.2559, allocations: 102.7 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.2561, allocations: 48.77 kB / 436.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2561, allocations: 4 kB / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2561, allocations: 42.5 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.2561, allocations: 3.938 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008697/0.257, allocations: 218.3 kB / 437.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.257, allocations: 51.41 kB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2572, allocations: 152.1 kB / 437.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.2572, allocations: 29.7 kB / 437.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.2573, allocations: 120 kB / 437.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.2574, allocations: 27.75 kB / 437.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.2574, allocations: 33.7 kB / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.2576, allocations: 322.8 kB / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2578, allocations: 59.97 kB / 437.8 MB, free: 480 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.258, allocations: 86.53 kB / 437.9 MB, free: 384 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.2583, allocations: 140.2 kB / 438.1 MB, free: 228 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2583, allocations: 0 / 438.1 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006314/0.259, allocations: 264 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.259, allocations: 37.69 kB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.259, allocations: 0 / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.2592, allocations: 84.86 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.2593, allocations: 15.94 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.2612, allocations: 1.522 MB / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.2615, allocations: 44.05 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2616, allocations: 8 kB / 440 MB, free: 14.11 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.0001223/0.2617, allocations: 125.8 kB / 440.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.2617, allocations: 11.91 kB / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.2621, allocations: 171.5 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2621, allocations: 0 / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.2621, allocations: 4 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2621, allocations: 0 / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.2624, allocations: 192.6 kB / 440.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2624, allocations: 0 / 440.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.2625, allocations: 8 kB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.2627, allocations: 80.8 kB / 440.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2627, allocations: 8.062 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.2643, allocations: 1.506 MB / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2643, allocations: 0 / 442.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.2647, allocations: 252.2 kB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.2648, allocations: 11.91 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.2648, allocations: 4.062 kB / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2649, allocations: 11.98 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.265, allocations: 19.91 kB / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.265, allocations: 4 kB / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.2651, allocations: 116.8 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2651, allocations: 0 / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.2654, allocations: 47.94 kB / 442.6 MB, free: 11.36 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.0001385/0.2656, allocations: 103.2 kB / 442.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.2662, allocations: 305.9 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2662, allocations: 0 / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.2665, allocations: 162.7 kB / 443.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2669, allocations: 48.81 kB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.2675, allocations: 283.9 kB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.2679, allocations: 0.7045 MB / 444.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.268, allocations: 8.5 kB / 444.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.268, allocations: 11.44 kB / 444.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.268, allocations: 0 / 444.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Templates: time 0.007057/0.2751, allocations: 3.041 MB / 447.2 MB, free: 6.652 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.789319613017142]