Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 112.1 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.001591/0.001591, 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.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 75.89 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004021/0.2846, allocations: 3.384 MB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.2871, allocations: 1.605 MB / 0.5365 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.2874, allocations: 22.44 kB / 0.5366 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.2879, allocations: 144.5 kB / 0.5367 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.2883, allocations: 196.6 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2893, allocations: 0.54 MB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009005/0.2903, allocations: 0.9463 MB / 0.5383 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.2906, allocations: 236.3 kB / 0.5386 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.2911, allocations: 373.9 kB / 0.5389 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.2915, allocations: 410.7 kB / 0.5393 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.2916, allocations: 66.03 kB / 0.5394 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.2919, allocations: 191.5 kB / 0.5396 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.2921, allocations: 200.7 kB / 0.5397 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.2924, allocations: 335.5 kB / 0.5401 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.2932, allocations: 0.9118 MB / 0.541 GB, free: 6.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2932, allocations: 5.531 kB / 0.541 GB, free: 6.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2932, allocations: 0 / 0.541 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2932, allocations: 0 / 0.541 GB, free: 6.535 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.00227/0.2955, allocations: 1.169 MB / 0.5421 GB, free: 5.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2956, allocations: 10.88 kB / 0.5421 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.2958, allocations: 101.6 kB / 0.5422 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.2967, allocations: 0.584 MB / 0.5428 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.2968, allocations: 42.12 kB / 0.5428 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.2969, allocations: 53.91 kB / 0.5429 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.298, allocations: 0.626 MB / 0.5435 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.298, allocations: 1.125 kB / 0.5435 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.2981, allocations: 16.84 kB / 0.5435 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2981, allocations: 12 kB / 0.5435 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2992, allocations: 461.7 kB / 0.544 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.3026, allocations: 2.653 MB / 0.5465 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.3037, allocations: 0.5125 MB / 0.547 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.3042, allocations: 263.2 kB / 0.5473 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.3043, allocations: 8.172 kB / 0.5473 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3043, allocations: 42.78 kB / 0.5473 GB, free: 1.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.466e-06/0.3043, allocations: 0 / 0.5473 GB, free: 1.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002458/0.3068, allocations: 1.145 MB / 0.5485 GB, free: 204 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.3069, allocations: 162.2 kB / 0.5486 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.3078, allocations: 0.6529 MB / 0.5493 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.3078, allocations: 33.7 kB / 0.5493 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.3081, allocations: 368.7 kB / 0.5496 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.3083, allocations: 177.5 kB / 0.5498 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3085, allocations: 114.3 kB / 0.5499 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3086, allocations: 337.9 kB / 0.5502 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.3093, allocations: 283.3 kB / 0.5505 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.3101, allocations: 449.2 kB / 0.5509 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3114, allocations: 0.722 MB / 0.5516 GB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3115, allocations: 0 / 0.5516 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001676/0.3131, allocations: 0.8232 MB / 0.5524 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3132, allocations: 12.03 kB / 0.5525 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3132, allocations: 4 kB / 0.5525 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3132, allocations: 8 kB / 0.5525 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009294/0.3142, allocations: 195.7 kB / 0.5527 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.3142, allocations: 11.94 kB / 0.5527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.3148, allocations: 87.47 kB / 0.5528 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.3149, allocations: 27.94 kB / 0.5528 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007924/0.3157, allocations: 421.3 kB / 0.5532 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000686/0.3163, allocations: 436.2 kB / 0.5536 GB, free: 10.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001224/0.3176, allocations: 0.6804 MB / 0.5543 GB, free: 9.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/0.3176, allocations: 7.984 kB / 0.5543 GB, free: 9.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00159/0.3192, allocations: 0.8085 MB / 0.5551 GB, free: 9.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3192, allocations: 8 kB / 0.5551 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3192, allocations: 4 kB / 0.5551 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3193, allocations: 8 kB / 0.5551 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.3201, allocations: 196.2 kB / 0.5553 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.3201, allocations: 11.94 kB / 0.5553 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.3207, allocations: 75.48 kB / 0.5553 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.3207, allocations: 27.98 kB / 0.5554 GB, free: 8.773 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001874/0.3209, allocations: 220 kB / 0.5556 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.3211, allocations: 79.09 kB / 0.5557 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.3213, allocations: 90.91 kB / 0.5557 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.3213, allocations: 3.984 kB / 0.5557 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.3213, allocations: 3.938 kB / 0.5558 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.3216, allocations: 200 kB / 0.5559 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3217, allocations: 19.98 kB / 0.556 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.3223, allocations: 47.94 kB / 0.556 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3224, allocations: 39.95 kB / 0.556 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002681/0.3251, allocations: 1.034 MB / 0.5571 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002133/0.3273, allocations: 1.299 MB / 0.5583 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006222/0.3279, allocations: 295.7 kB / 0.5586 GB, free: 5.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006567/0.3286, allocations: 459 kB / 0.559 GB, free: 4.961 MB / 414.1 MB Notification: Performance of Backend: time 7.22e-07/0.3286, allocations: 0 / 0.559 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.3309, allocations: 0.874 MB / 0.5599 GB, free: 4.078 MB / 414.1 MB Notification: Performance of SimCode: time 0.00237/0.3333, allocations: 1.905 MB / 0.5618 GB, free: 2.125 MB / 414.1 MB Notification: Performance of Templates: time 0.0189/0.3522, allocations: 12.61 MB / 0.5741 GB, free: 5.582 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches