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.00115/0.00115, allocations: 118.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 210.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.444/1.444, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3161, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004432/0.3205, allocations: 3.366 MB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3235, allocations: 1.598 MB / 0.5365 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.3241, allocations: 22 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.3247, allocations: 144.2 kB / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006368/0.3254, allocations: 189.7 kB / 0.5369 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.3267, allocations: 0.5373 MB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.328, allocations: 0.911 MB / 0.5383 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.3284, allocations: 237 kB / 0.5385 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.3291, allocations: 372.5 kB / 0.5389 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.3297, allocations: 406.6 kB / 0.5392 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.33, allocations: 62.69 kB / 0.5393 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.3302, allocations: 66.03 kB / 0.5394 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.3304, allocations: 202.8 kB / 0.5396 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.3308, allocations: 340 kB / 0.5399 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.3316, allocations: 0.7738 MB / 0.5406 GB, free: 6.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3316, allocations: 0 / 0.5406 GB, free: 6.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3316, allocations: 3.938 kB / 0.5406 GB, free: 6.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.514e-05/0.3317, allocations: 1.281 kB / 0.5406 GB, free: 6.746 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.0025/0.3342, allocations: 1.15 MB / 0.5418 GB, free: 5.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3342, allocations: 19.02 kB / 0.5418 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.3345, allocations: 98.28 kB / 0.5419 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/0.3355, allocations: 0.5879 MB / 0.5425 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.3356, allocations: 40.69 kB / 0.5425 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.3357, allocations: 59.03 kB / 0.5426 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3368, allocations: 0.6256 MB / 0.5432 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3368, allocations: 1.25 kB / 0.5432 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.3369, allocations: 17.94 kB / 0.5432 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3369, allocations: 11.66 kB / 0.5432 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3379, allocations: 465.2 kB / 0.5436 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.3415, allocations: 2.651 MB / 0.5462 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3426, allocations: 0.5537 MB / 0.5468 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.3431, allocations: 250.4 kB / 0.547 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.3432, allocations: 8 kB / 0.547 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3432, allocations: 38.56 kB / 0.547 GB, free: 1.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.3432, allocations: 0 / 0.547 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002323/0.3455, allocations: 1.138 MB / 0.5482 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.3456, allocations: 158.2 kB / 0.5483 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3467, allocations: 0.6529 MB / 0.5489 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.3468, allocations: 41.64 kB / 0.549 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.3471, allocations: 360 kB / 0.5493 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.3472, allocations: 165.5 kB / 0.5495 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3474, allocations: 126.2 kB / 0.5496 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3475, allocations: 329.9 kB / 0.5499 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.3481, allocations: 271.3 kB / 0.5502 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.3488, allocations: 444.8 kB / 0.5506 GB, free: 13.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.35, allocations: 0.6779 MB / 0.5513 GB, free: 13.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3501, allocations: 4 kB / 0.5513 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00154/0.3516, allocations: 0.7946 MB / 0.552 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3516, allocations: 8 kB / 0.5521 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3516, allocations: 7.984 kB / 0.5521 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3517, allocations: 8.531 kB / 0.5521 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.3523, allocations: 155.8 kB / 0.5522 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.3524, allocations: 7.938 kB / 0.5522 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.3529, allocations: 79.56 kB / 0.5523 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.353, allocations: 24 kB / 0.5523 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007283/0.3537, allocations: 417.2 kB / 0.5527 GB, free: 11.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006275/0.3544, allocations: 421.2 kB / 0.5531 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/0.3555, allocations: 0.66 MB / 0.5538 GB, free: 10.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.3555, allocations: 0 / 0.5538 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001433/0.357, allocations: 0.7699 MB / 0.5545 GB, free: 9.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.357, allocations: 12.06 kB / 0.5545 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.357, allocations: 7.938 kB / 0.5545 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.357, allocations: 8 kB / 0.5545 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.3576, allocations: 143.8 kB / 0.5547 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.3576, allocations: 11.94 kB / 0.5547 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.3582, allocations: 79.58 kB / 0.5548 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/0.3582, allocations: 27.98 kB / 0.5548 GB, free: 9.371 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.0001698/0.3584, allocations: 216.1 kB / 0.555 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3585, allocations: 71.06 kB / 0.5551 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.3587, allocations: 90.22 kB / 0.5552 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3587, allocations: 3.984 kB / 0.5552 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3587, allocations: 3.938 kB / 0.5552 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.359, allocations: 192.1 kB / 0.5554 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.3591, allocations: 15.98 kB / 0.5554 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.3596, allocations: 55.89 kB / 0.5554 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3597, allocations: 39.94 kB / 0.5555 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002515/0.3623, allocations: 1.022 MB / 0.5565 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001983/0.3643, allocations: 1.276 MB / 0.5577 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005613/0.3648, allocations: 283.7 kB / 0.558 GB, free: 6.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006557/0.3655, allocations: 470.9 kB / 0.5584 GB, free: 5.613 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.3655, allocations: 0 / 0.5584 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.3676, allocations: 0.8359 MB / 0.5592 GB, free: 4.773 MB / 414.1 MB Notification: Performance of SimCode: time 0.002552/0.3702, allocations: 1.897 MB / 0.5611 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Templates: time 0.0201/0.3903, allocations: 12.33 MB / 0.5731 GB, free: 6.559 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