Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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,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") translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 112.1 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.001168/0.001168, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.722/1.722, 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.246/0.246, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 76.11 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004103/0.2899, allocations: 3.336 MB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.2925, allocations: 1.603 MB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/0.2928, allocations: 22.28 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.2932, allocations: 139.8 kB / 0.5366 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.2937, allocations: 201.4 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2948, allocations: 0.5362 MB / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008987/0.2957, allocations: 0.9147 MB / 0.5382 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.2961, allocations: 232.2 kB / 0.5385 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.2965, allocations: 368.7 kB / 0.5388 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.297, allocations: 399.9 kB / 0.5392 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2971, allocations: 65.78 kB / 0.5393 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2972, allocations: 67.09 kB / 0.5393 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.2974, allocations: 202.2 kB / 0.5395 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.2977, allocations: 339.8 kB / 0.5398 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007831/0.2985, allocations: 0.7907 MB / 0.5406 GB, free: 6.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2985, allocations: 1.094 kB / 0.5406 GB, free: 6.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2985, allocations: 3.938 kB / 0.5406 GB, free: 6.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2985, allocations: 0 / 0.5406 GB, free: 6.773 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.00209/0.3006, allocations: 1.183 MB / 0.5418 GB, free: 5.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3007, allocations: 11.28 kB / 0.5418 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.3009, allocations: 105.3 kB / 0.5419 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.3018, allocations: 0.5884 MB / 0.5425 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.3018, allocations: 41.73 kB / 0.5425 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.3019, allocations: 59.52 kB / 0.5426 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.303, allocations: 0.6175 MB / 0.5432 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.303, allocations: 5.125 kB / 0.5432 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.3031, allocations: 20.81 kB / 0.5432 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3031, allocations: 11.75 kB / 0.5432 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3041, allocations: 465.8 kB / 0.5436 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.3075, allocations: 2.659 MB / 0.5462 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3086, allocations: 0.548 MB / 0.5468 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.3092, allocations: 262.4 kB / 0.547 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.3092, allocations: 4 kB / 0.547 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3092, allocations: 38.56 kB / 0.5471 GB, free: 1.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.3093, allocations: 0 / 0.5471 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002338/0.3116, allocations: 1.161 MB / 0.5482 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.3117, allocations: 158.2 kB / 0.5484 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.3125, allocations: 0.6608 MB / 0.549 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3125, allocations: 37.64 kB / 0.549 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.3128, allocations: 364.5 kB / 0.5494 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.3129, allocations: 182.4 kB / 0.5496 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3131, allocations: 118.3 kB / 0.5497 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3132, allocations: 329.9 kB / 0.55 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.3139, allocations: 271.3 kB / 0.5502 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.3146, allocations: 438.6 kB / 0.5507 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.3158, allocations: 0.6817 MB / 0.5513 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3158, allocations: 0 / 0.5513 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001539/0.3174, allocations: 0.7993 MB / 0.5521 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3174, allocations: 8 kB / 0.5521 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3174, allocations: 4 kB / 0.5521 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3174, allocations: 8 kB / 0.5521 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.3181, allocations: 151.8 kB / 0.5523 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.3181, allocations: 15.92 kB / 0.5523 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.3186, allocations: 83.8 kB / 0.5524 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.3187, allocations: 24 kB / 0.5524 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007188/0.3194, allocations: 409.3 kB / 0.5528 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006424/0.3201, allocations: 421.2 kB / 0.5532 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/0.3212, allocations: 0.6523 MB / 0.5538 GB, free: 10.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.3213, allocations: 4 kB / 0.5538 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001447/0.3227, allocations: 0.7739 MB / 0.5546 GB, free: 9.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3227, allocations: 8 kB / 0.5546 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3227, allocations: 4 kB / 0.5546 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.3227, allocations: 8 kB / 0.5546 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.3234, allocations: 140.3 kB / 0.5547 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3234, allocations: 12 kB / 0.5547 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.3239, allocations: 87.61 kB / 0.5548 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3239, allocations: 23.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.0001548/0.3241, allocations: 224 kB / 0.5551 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.3242, allocations: 75.53 kB / 0.5551 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.3244, allocations: 94.2 kB / 0.5552 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3244, allocations: 4 kB / 0.5552 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3244, allocations: 3.938 kB / 0.5552 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.3247, allocations: 204.4 kB / 0.5554 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.3248, allocations: 12 kB / 0.5554 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.3253, allocations: 51.88 kB / 0.5555 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3254, allocations: 39.95 kB / 0.5555 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002551/0.328, allocations: 1.01 MB / 0.5565 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002083/0.3301, allocations: 1.29 MB / 0.5578 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006073/0.3307, allocations: 287.7 kB / 0.558 GB, free: 6.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006122/0.3313, allocations: 463 kB / 0.5585 GB, free: 5.598 MB / 414.1 MB Notification: Performance of Backend: time 4.41e-07/0.3313, allocations: 0 / 0.5585 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.3334, allocations: 0.8394 MB / 0.5593 GB, free: 4.754 MB / 414.1 MB Notification: Performance of SimCode: time 0.002391/0.3358, allocations: 1.931 MB / 0.5612 GB, free: 2.773 MB / 414.1 MB Notification: Performance of Templates: time 0.01878/0.3546, allocations: 11.95 MB / 0.5729 GB, free: 6.883 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches