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.002328/0.002328, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001918/0.001918, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 18.57 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.641/1.641, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 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 1.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.733e-05, allocations: 2.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003587/0.003614, allocations: 2.056 MB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.00475, allocations: 0.5532 MB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.004844, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.004959, allocations: 19.8 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.005061, allocations: 43.69 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.005323, allocations: 67.78 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.005639, allocations: 215.3 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.005782, allocations: 33.27 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.005971, allocations: 119.8 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.00617, allocations: 71.77 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.006217, allocations: 20 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.006282, allocations: 20 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.006327, allocations: 35.89 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.006424, allocations: 67.81 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.006762, allocations: 203.4 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.006764, allocations: 0 / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006765, allocations: 0 / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.00677, allocations: 0 / 275.8 MB, free: 14.26 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.0008296/0.007599, allocations: 0.5052 MB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.007638, allocations: 12.03 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.007809, allocations: 32.84 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.00809, allocations: 164.3 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.008236, allocations: 141.1 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.008274, allocations: 16.38 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.008623, allocations: 199.3 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.008632, allocations: 192 / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.008656, allocations: 8.125 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.008664, allocations: 4 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.008962, allocations: 95.81 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.009942, allocations: 0.4946 MB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.01031, allocations: 119.1 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.01044, allocations: 47.67 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.01047, allocations: 3.984 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.0105, allocations: 37.39 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.0105, allocations: 4 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.001097/0.0116, allocations: 221.1 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.01165, allocations: 59.34 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01186, allocations: 212.9 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.01189, allocations: 33.7 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.01203, allocations: 166.7 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.01206, allocations: 31.73 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.01216, allocations: 43.36 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/0.01245, allocations: 0.5001 MB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.01267, allocations: 81.69 kB / 279 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.01296, allocations: 116.7 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.01327, allocations: 148.7 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01327, allocations: 0 / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006838/0.01396, allocations: 304.4 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.014, allocations: 29.7 kB / 279.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01401, allocations: 0 / 279.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.01427, allocations: 87.58 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.01435, allocations: 11.98 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.01672, allocations: 2.013 MB / 281.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.017, allocations: 35.91 kB / 281.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.01703, allocations: 7.938 kB / 281.8 MB, free: 7.875 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.0001813/0.01721, allocations: 176.6 kB / 282 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.01726, allocations: 15.91 kB / 282 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.01767, allocations: 162.5 kB / 282.1 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01767, allocations: 0 / 282.1 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.01767, allocations: 0 / 282.1 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01768, allocations: 0 / 282.1 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.01793, allocations: 168.5 kB / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01793, allocations: 0 / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.01799, allocations: 11.98 kB / 282.3 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.01819, allocations: 83.77 kB / 282.4 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.0182, allocations: 4 kB / 282.4 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.02035, allocations: 2.021 MB / 284.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02035, allocations: 0 / 284.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.02083, allocations: 307.5 kB / 284.7 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.02085, allocations: 7.891 kB / 284.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.02087, allocations: 4 kB / 284.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.02101, allocations: 19.92 kB / 284.7 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.02109, allocations: 15.97 kB / 284.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.0211, allocations: 0 / 284.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.02123, allocations: 155.1 kB / 284.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02123, allocations: 0 / 284.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.02158, allocations: 51.98 kB / 285 MB, free: 4.484 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.000589/0.02217, allocations: 103.4 kB / 285.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007655/0.02293, allocations: 397.6 kB / 285.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02293, allocations: 0 / 285.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.02327, allocations: 237.4 kB / 285.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.02362, allocations: 36.09 kB / 285.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.02424, allocations: 262.6 kB / 286 MB, free: 3.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.02436, allocations: 97.66 kB / 286.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.79e-05/0.02441, allocations: 8.5 kB / 286.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.02444, allocations: 12.5 kB / 286.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02444, allocations: 0 / 286.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Templates: time 0.007611/0.03205, allocations: 3.143 MB / 289.2 MB, free: 140 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] 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.657226645969786]