Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2018/0.2018, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2752, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004185/0.2794, allocations: 3.363 MB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2821, allocations: 1.596 MB / 0.5365 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.2824, allocations: 23.25 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.2829, allocations: 144.3 kB / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.2833, allocations: 196.8 kB / 0.5369 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2844, allocations: 0.5374 MB / 0.5374 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009061/0.2854, allocations: 0.9212 MB / 0.5383 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.2857, allocations: 232.1 kB / 0.5385 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.2862, allocations: 377.4 kB / 0.5389 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.2867, allocations: 402.9 kB / 0.5393 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.2868, allocations: 63 kB / 0.5393 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.2869, allocations: 66.75 kB / 0.5394 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.2871, allocations: 202.1 kB / 0.5396 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.2874, allocations: 339.2 kB / 0.5399 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.2882, allocations: 0.7841 MB / 0.5407 GB, free: 6.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2882, allocations: 0 / 0.5407 GB, free: 6.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2882, allocations: 3.938 kB / 0.5407 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2882, allocations: 1.344 kB / 0.5407 GB, free: 6.73 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.002185/0.2904, allocations: 1.19 MB / 0.5418 GB, free: 5.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2904, allocations: 10 kB / 0.5418 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.2907, allocations: 102.9 kB / 0.5419 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.2916, allocations: 0.5924 MB / 0.5425 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.2916, allocations: 40.81 kB / 0.5426 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.395e-05/0.2917, allocations: 55.44 kB / 0.5426 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2929, allocations: 0.6222 MB / 0.5432 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2929, allocations: 0.5625 kB / 0.5432 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.293, allocations: 21.38 kB / 0.5432 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.293, allocations: 11.5 kB / 0.5432 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2941, allocations: 465.7 kB / 0.5437 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.2975, allocations: 2.651 MB / 0.5463 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.2986, allocations: 0.5504 MB / 0.5468 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.2992, allocations: 256.8 kB / 0.5471 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.2993, allocations: 8 kB / 0.5471 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.2993, allocations: 38.56 kB / 0.5471 GB, free: 1.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.063e-06/0.2993, allocations: 0 / 0.5471 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002412/0.3017, allocations: 1.162 MB / 0.5482 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.3018, allocations: 162.2 kB / 0.5484 GB, free: 272 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.3026, allocations: 0.649 MB / 0.549 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.3027, allocations: 41.64 kB / 0.5491 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.303, allocations: 364.5 kB / 0.5494 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3031, allocations: 178.5 kB / 0.5496 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.3033, allocations: 118.3 kB / 0.5497 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3034, allocations: 337.9 kB / 0.55 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.304, allocations: 271.3 kB / 0.5503 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.3048, allocations: 442.6 kB / 0.5507 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.306, allocations: 0.6777 MB / 0.5514 GB, free: 13.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.306, allocations: 0 / 0.5514 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001546/0.3076, allocations: 0.799 MB / 0.5521 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3076, allocations: 8 kB / 0.5522 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3076, allocations: 4.531 kB / 0.5522 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3076, allocations: 8 kB / 0.5522 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.3083, allocations: 155.7 kB / 0.5523 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3083, allocations: 8 kB / 0.5523 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.3088, allocations: 87.61 kB / 0.5524 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.3089, allocations: 20 kB / 0.5524 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000719/0.3096, allocations: 421.2 kB / 0.5528 GB, free: 11.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006565/0.3103, allocations: 421.2 kB / 0.5532 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.3115, allocations: 0.6562 MB / 0.5539 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.3115, allocations: 0 / 0.5539 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.00146/0.3129, allocations: 0.7704 MB / 0.5546 GB, free: 9.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.313, allocations: 14.75 kB / 0.5546 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.313, allocations: 4 kB / 0.5546 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.313, allocations: 8 kB / 0.5546 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.3136, allocations: 143.8 kB / 0.5548 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3136, allocations: 11.94 kB / 0.5548 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.3141, allocations: 83.62 kB / 0.5549 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.3142, allocations: 27.98 kB / 0.5549 GB, free: 9.293 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 (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.3143, allocations: 212.1 kB / 0.5551 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.3145, allocations: 75.53 kB / 0.5552 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.3146, allocations: 90.22 kB / 0.5553 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3146, allocations: 3.984 kB / 0.5553 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3146, allocations: 3.938 kB / 0.5553 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3149, allocations: 200.4 kB / 0.5555 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.315, allocations: 19.98 kB / 0.5555 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.3155, allocations: 55.88 kB / 0.5555 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3156, allocations: 35.95 kB / 0.5556 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002525/0.3182, allocations: 1.018 MB / 0.5566 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002055/0.3202, allocations: 1.289 MB / 0.5578 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005879/0.3208, allocations: 287.6 kB / 0.5581 GB, free: 5.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000606/0.3214, allocations: 463 kB / 0.5585 GB, free: 5.523 MB / 414.1 MB Notification: Performance of Backend: time 6.92e-07/0.3215, allocations: 0 / 0.5585 GB, free: 5.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.3235, allocations: 0.8396 MB / 0.5594 GB, free: 4.68 MB / 414.1 MB Notification: Performance of SimCode: time 0.00226/0.3257, allocations: 1.937 MB / 0.5612 GB, free: 2.695 MB / 414.1 MB Notification: Performance of Templates: time 0.01893/0.3447, allocations: 11.93 MB / 0.5729 GB, free: 6.82 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches