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.001402/0.001402, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001666/0.001666, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.00158/0.00158, allocations: 47.94 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2656, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003965/0.2696, allocations: 1.997 MB / 433.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2708, allocations: 0.5455 MB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.271, allocations: 0 / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2711, allocations: 19.8 kB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.2712, allocations: 39.69 kB / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.2715, allocations: 67.84 kB / 434.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.2719, allocations: 211.3 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.272, allocations: 35.78 kB / 434.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2722, allocations: 91.7 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2724, allocations: 79.64 kB / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.2724, allocations: 16 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.2725, allocations: 28 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.2726, allocations: 27.91 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.2727, allocations: 71.77 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.273, allocations: 187 kB / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.273, allocations: 0 / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.273, allocations: 0 / 435 MB, free: 3.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.273, allocations: 0 / 435 MB, free: 3.316 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.0008039/0.2738, allocations: 419.4 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2738, allocations: 12.03 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.274, allocations: 24.83 kB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2743, allocations: 152.4 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.2744, allocations: 145.1 kB / 435.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.2745, allocations: 16.25 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.2749, allocations: 210.9 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2749, allocations: 0 / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2749, allocations: 4 kB / 435.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.2749, allocations: 4 kB / 435.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.2753, allocations: 115.7 kB / 436.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009105/0.2762, allocations: 423.1 kB / 436.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.2766, allocations: 102.7 kB / 436.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2767, allocations: 48.77 kB / 436.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.2767, allocations: 8 kB / 436.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2768, allocations: 30.56 kB / 436.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2768, allocations: 0 / 436.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008907/0.2777, allocations: 226.3 kB / 436.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2777, allocations: 55.41 kB / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2779, allocations: 144.2 kB / 437.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2779, allocations: 29.7 kB / 437.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.278, allocations: 116 kB / 437.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.2781, allocations: 35.72 kB / 437.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.2782, allocations: 33.7 kB / 437.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2783, allocations: 322.8 kB / 437.6 MB, free: 484 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2785, allocations: 93.67 kB / 437.7 MB, free: 384 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.2787, allocations: 108.2 kB / 437.8 MB, free: 260 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.2791, allocations: 144.2 kB / 437.9 MB, free: 100 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2791, allocations: 0 / 437.9 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006624/0.2797, allocations: 305.6 kB / 438.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.2798, allocations: 29.7 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2798, allocations: 4 kB / 438.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.28, allocations: 68.81 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.2801, allocations: 24.05 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.2821, allocations: 1.491 MB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2824, allocations: 44.02 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2825, allocations: 8 kB / 439.9 MB, free: 13.99 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.0001333/0.2826, allocations: 121.8 kB / 440 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.2826, allocations: 19.91 kB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.2831, allocations: 163.1 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2831, allocations: 0 / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2831, allocations: 7.938 kB / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2831, allocations: 0 / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.2833, allocations: 149.2 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2833, allocations: 0 / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.2834, allocations: 12.12 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.2835, allocations: 80.8 kB / 440.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2835, allocations: 0 / 440.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.285, allocations: 1.479 MB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.285, allocations: 0 / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.2854, allocations: 244.3 kB / 442.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.2855, allocations: 11.89 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2855, allocations: 4.062 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2856, allocations: 19.98 kB / 442.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.2857, allocations: 19.91 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2857, allocations: 192 / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.2858, allocations: 106.1 kB / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2858, allocations: 0 / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.2861, allocations: 55.89 kB / 442.4 MB, free: 11.34 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.000138/0.2862, allocations: 99.25 kB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.2869, allocations: 343.7 kB / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2869, allocations: 0 / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.2872, allocations: 174.5 kB / 443 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.2875, allocations: 31.95 kB / 443 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.2882, allocations: 275 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.2883, allocations: 93.62 kB / 443.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.2883, allocations: 12.48 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.2883, allocations: 11.44 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2883, allocations: 0 / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.007316/0.2957, allocations: 3.166 MB / 446.6 MB, free: 7.117 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.939353788271546]