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.001833/0.001833, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00226/0.00226, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 7.809 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 43.92 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003283/0.2547, allocations: 1.989 MB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.2557, allocations: 0.5433 MB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.2558, allocations: 4 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2559, allocations: 19.78 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.2559, allocations: 35.7 kB / 433.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2562, allocations: 71.84 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.2565, allocations: 215.3 kB / 434 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2566, allocations: 37.19 kB / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2567, allocations: 79.77 kB / 434.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2569, allocations: 91.64 kB / 434.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.2569, allocations: 20 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.257, allocations: 27.98 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.257, allocations: 23.92 kB / 434.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.2571, allocations: 75.7 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.2574, allocations: 187.3 kB / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2574, allocations: 0 / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2574, allocations: 4 kB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.2574, allocations: 0 / 434.5 MB, free: 3.25 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.0007321/0.2581, allocations: 419.4 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2582, allocations: 8.031 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.2582, allocations: 46.62 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2583, allocations: 28.77 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.2586, allocations: 148.5 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.2587, allocations: 153.1 kB / 435.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.2587, allocations: 12.38 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.2591, allocations: 208.2 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2591, allocations: 0 / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2591, allocations: 4 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2591, allocations: 0 / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2594, allocations: 115.8 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.2603, allocations: 446.5 kB / 436.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.2607, allocations: 114.6 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2608, allocations: 44.83 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.2608, allocations: 0 / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2608, allocations: 42.5 kB / 436.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.956e-06/0.2608, allocations: 4 kB / 436.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008251/0.2617, allocations: 222.3 kB / 436.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2617, allocations: 51.41 kB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2619, allocations: 154.3 kB / 436.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2619, allocations: 29.7 kB / 436.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.262, allocations: 116 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.262, allocations: 31.78 kB / 436.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.2621, allocations: 33.72 kB / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2622, allocations: 322.8 kB / 437.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2624, allocations: 89.66 kB / 437.3 MB, free: 212 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.2626, allocations: 116.2 kB / 437.4 MB, free: 80 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.2629, allocations: 140.3 kB / 437.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2629, allocations: 4 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006364/0.2636, allocations: 301.5 kB / 437.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.2636, allocations: 29.7 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2636, allocations: 4 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.2638, allocations: 77.34 kB / 437.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.2639, allocations: 15.98 kB / 438 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.2656, allocations: 1.516 MB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.266, allocations: 48.05 kB / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.266, allocations: 8 kB / 439.5 MB, free: 13.79 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.0001178/0.2661, allocations: 128.8 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.2661, allocations: 19.78 kB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.2665, allocations: 163.2 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2665, allocations: 0 / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2665, allocations: 7.938 kB / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2665, allocations: 0 / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.2667, allocations: 168.7 kB / 440 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2668, allocations: 0 / 440 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2668, allocations: 11.98 kB / 440 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.267, allocations: 80.94 kB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.267, allocations: 8 kB / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.2685, allocations: 1.487 MB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2685, allocations: 0 / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.2689, allocations: 268.2 kB / 441.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.2689, allocations: 11.91 kB / 441.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2689, allocations: 0 / 441.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2691, allocations: 11.98 kB / 441.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.2691, allocations: 11.98 kB / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2692, allocations: 4 kB / 441.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.2692, allocations: 115.2 kB / 442 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2692, allocations: 0 / 442 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.2696, allocations: 55.94 kB / 442.1 MB, free: 11.05 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.0007336/0.2703, allocations: 0.7838 MB / 442.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.271, allocations: 327.6 kB / 443.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.271, allocations: 0 / 443.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.2713, allocations: 174.7 kB / 443.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2716, allocations: 27.92 kB / 443.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.2745, allocations: 2.096 MB / 445.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.477e-05/0.2746, allocations: 89.62 kB / 445.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.2746, allocations: 12.48 kB / 445.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.2747, allocations: 31.42 kB / 445.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2747, allocations: 480 / 445.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.3087, allocations: 5.217 MB / 450.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.32, allocations: 2.75 kB / 450.8 MB, free: 2.266 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 14.780458611989161]