Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.09 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 79.86 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3145, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004417/0.3189, allocations: 3.36 MB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3219, allocations: 1.598 MB / 0.5365 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.3224, allocations: 22.22 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.3229, allocations: 144.4 kB / 0.5367 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.3234, allocations: 182 kB / 0.5369 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3246, allocations: 0.5403 MB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008616/0.3255, allocations: 0.899 MB / 0.5383 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.3258, allocations: 236.9 kB / 0.5385 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.3263, allocations: 375.2 kB / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.3268, allocations: 401.4 kB / 0.5392 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.3269, allocations: 60.5 kB / 0.5393 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.327, allocations: 65.31 kB / 0.5393 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.3272, allocations: 202.3 kB / 0.5395 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.3274, allocations: 339.2 kB / 0.5399 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.3281, allocations: 0.7694 MB / 0.5406 GB, free: 6.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3281, allocations: 0 / 0.5406 GB, free: 6.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3281, allocations: 5.469 kB / 0.5406 GB, free: 6.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.639e-06/0.3282, allocations: 0 / 0.5406 GB, free: 6.789 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002075/0.3302, allocations: 1.155 MB / 0.5417 GB, free: 5.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3303, allocations: 14.44 kB / 0.5418 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.3306, allocations: 105.7 kB / 0.5419 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.3314, allocations: 0.5754 MB / 0.5424 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.3315, allocations: 46.34 kB / 0.5425 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.3316, allocations: 58.48 kB / 0.5425 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3326, allocations: 0.6219 MB / 0.5431 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3326, allocations: 1.219 kB / 0.5431 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.3327, allocations: 17.75 kB / 0.5431 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3327, allocations: 10.88 kB / 0.5432 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.3337, allocations: 461.4 kB / 0.5436 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.3369, allocations: 2.629 MB / 0.5462 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.338, allocations: 0.5444 MB / 0.5467 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.3385, allocations: 254.4 kB / 0.5469 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.3385, allocations: 4 kB / 0.5469 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3385, allocations: 42.55 kB / 0.547 GB, free: 1.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.3386, allocations: 4 kB / 0.547 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002277/0.3408, allocations: 1.134 MB / 0.5481 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.3409, allocations: 158.2 kB / 0.5482 GB, free: 460 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.3417, allocations: 0.6528 MB / 0.5489 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.3418, allocations: 45.62 kB / 0.5489 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.342, allocations: 356.1 kB / 0.5493 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3421, allocations: 169.5 kB / 0.5494 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.3423, allocations: 118.2 kB / 0.5495 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3424, allocations: 337.9 kB / 0.5499 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.343, allocations: 271.2 kB / 0.5501 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.3436, allocations: 433 kB / 0.5505 GB, free: 13.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.3448, allocations: 0.6699 MB / 0.5512 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3448, allocations: 0 / 0.5512 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001545/0.3464, allocations: 0.8228 MB / 0.552 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3464, allocations: 7.984 kB / 0.552 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3464, allocations: 4 kB / 0.552 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.3466, allocations: 64.75 kB / 0.5521 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.3475, allocations: 196.2 kB / 0.5523 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.3489, allocations: 1.597 MB / 0.5538 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.3494, allocations: 75.62 kB / 0.5539 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.3495, allocations: 28.09 kB / 0.5539 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007078/0.3502, allocations: 401.3 kB / 0.5543 GB, free: 9.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005903/0.3508, allocations: 421.1 kB / 0.5547 GB, free: 9.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001086/0.3519, allocations: 0.6522 MB / 0.5553 GB, free: 8.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.237e-06/0.3519, allocations: 4 kB / 0.5553 GB, free: 8.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001483/0.3534, allocations: 0.7902 MB / 0.5561 GB, free: 7.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3534, allocations: 8 kB / 0.5561 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3535, allocations: 4 kB / 0.5561 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3536, allocations: 60.81 kB / 0.5562 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.3544, allocations: 187.7 kB / 0.5564 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3559, allocations: 1.617 MB / 0.5579 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.3564, allocations: 71.64 kB / 0.558 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.3565, allocations: 24 kB / 0.558 GB, free: 5.828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.3566, allocations: 216.1 kB / 0.5582 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3568, allocations: 79 kB / 0.5583 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.357, allocations: 94.2 kB / 0.5584 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.357, allocations: 3.984 kB / 0.5584 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.357, allocations: 0 / 0.5584 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.3572, allocations: 192 kB / 0.5586 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.3573, allocations: 16 kB / 0.5586 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.3579, allocations: 55.88 kB / 0.5587 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.358, allocations: 47.81 kB / 0.5587 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002486/0.3605, allocations: 1.018 MB / 0.5597 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001949/0.3624, allocations: 1.276 MB / 0.5609 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005545/0.363, allocations: 291.6 kB / 0.5612 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006348/0.3636, allocations: 463 kB / 0.5617 GB, free: 2.055 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.3637, allocations: 0 / 0.5617 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.3662, allocations: 1.06 MB / 0.5627 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of SimCode: time 0.002454/0.3686, allocations: 1.923 MB / 0.5646 GB, free: 15 MB / 430.1 MB Notification: Performance of Templates: time 0.02017/0.3888, allocations: 12.55 MB / 0.5768 GB, free: 2.512 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches