Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001387/0.001387, allocations: 93.53 kB / 20.69 MB, free: 1.016 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.001478/0.001478, allocations: 158 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.244e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003187/0.00321, allocations: 2.006 MB / 327 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004386, allocations: 0.546 MB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.004522, allocations: 2.156 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.004635, allocations: 18.42 kB / 327.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.004778, allocations: 42.39 kB / 327.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.005104, allocations: 72.09 kB / 327.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.005471, allocations: 218 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.005598, allocations: 38.84 kB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.005809, allocations: 117.3 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.006016, allocations: 68.12 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.006078, allocations: 18.31 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.006147, allocations: 21.77 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.006193, allocations: 34.25 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.447e-05/0.006287, allocations: 65.86 kB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.006617, allocations: 204.8 kB / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006619, allocations: 0 / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00662, allocations: 0 / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006625, allocations: 0 / 328.5 MB, free: 14.31 MB / 302.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.0008183/0.007443, allocations: 416.2 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007481, allocations: 13.67 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.007613, allocations: 25.2 kB / 328.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.007913, allocations: 156.1 kB / 329.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.00805, allocations: 145.1 kB / 329.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.008084, allocations: 13.59 kB / 329.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.008457, allocations: 207.5 kB / 329.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.008469, allocations: 2.406 kB / 329.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.008491, allocations: 9.531 kB / 329.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.008496, allocations: 2.844 kB / 329.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.008835, allocations: 114.7 kB / 329.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.009698, allocations: 420.8 kB / 330 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.01008, allocations: 104.6 kB / 330.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.01024, allocations: 53.44 kB / 330.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.01026, allocations: 6.031 kB / 330.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.01029, allocations: 36.42 kB / 330.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.01029, allocations: 0 / 330.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008941/0.01119, allocations: 220.8 kB / 330.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01124, allocations: 58.12 kB / 330.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.01139, allocations: 148.8 kB / 330.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.01142, allocations: 32.95 kB / 330.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.01152, allocations: 115.9 kB / 330.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.01155, allocations: 29.3 kB / 330.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.01163, allocations: 33.5 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.01178, allocations: 321.2 kB / 331.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.012, allocations: 87.86 kB / 331.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.01221, allocations: 110.1 kB / 331.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.01254, allocations: 151.1 kB / 331.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01255, allocations: 0 / 331.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006879/0.01323, allocations: 298.1 kB / 331.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.01327, allocations: 32.92 kB / 331.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.01328, allocations: 1.25 kB / 331.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.01353, allocations: 73.97 kB / 331.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.01363, allocations: 16.55 kB / 331.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.01544, allocations: 1.478 MB / 333.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.01581, allocations: 48.95 kB / 333.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.01583, allocations: 8.281 kB / 333.4 MB, free: 10.25 MB / 302.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.0001274/0.01596, allocations: 126.3 kB / 333.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.016, allocations: 13.06 kB / 333.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.01643, allocations: 163.6 kB / 333.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01644, allocations: 2.25 kB / 333.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01644, allocations: 0.5625 kB / 333.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01644, allocations: 0 / 333.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.01665, allocations: 147.1 kB / 333.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01665, allocations: 0 / 333.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.01673, allocations: 12.2 kB / 333.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.0169, allocations: 81.81 kB / 333.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01691, allocations: 5.25 kB / 333.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.01859, allocations: 1.489 MB / 335.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01859, allocations: 0 / 335.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.01903, allocations: 247.3 kB / 335.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01904, allocations: 7.297 kB / 335.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01906, allocations: 0 / 335.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.01922, allocations: 20.55 kB / 335.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.01929, allocations: 16.38 kB / 335.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.0193, allocations: 6.219 kB / 335.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.01939, allocations: 107.6 kB / 335.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01939, allocations: 1 kB / 335.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.0197, allocations: 48.17 kB / 335.9 MB, free: 8.047 MB / 302.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.0001167/0.01981, allocations: 94.59 kB / 336 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.02049, allocations: 333.5 kB / 336.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.02049, allocations: 128 / 336.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.0208, allocations: 177.9 kB / 336.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.02112, allocations: 19.95 kB / 336.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.02173, allocations: 255.9 kB / 336.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.02182, allocations: 94.88 kB / 336.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.02187, allocations: 13.27 kB / 336.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.02191, allocations: 11.16 kB / 336.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.02191, allocations: 1.594 kB / 336.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of Templates: time 0.007146/0.02905, allocations: 3.066 MB / 339.9 MB, free: 5.531 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.485995031893253]