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.002204/0.002204, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001764, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3188, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004228/0.3231, allocations: 3.337 MB / 0.5349 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.3261, allocations: 1.608 MB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.3267, allocations: 23.03 kB / 0.5365 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.3271, allocations: 144.2 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.3278, allocations: 193.8 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3291, allocations: 0.5261 MB / 0.5373 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3302, allocations: 0.9175 MB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.3306, allocations: 232.5 kB / 0.5385 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.3312, allocations: 364.9 kB / 0.5388 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.3318, allocations: 399.6 kB / 0.5392 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.332, allocations: 62.19 kB / 0.5393 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3321, allocations: 70.59 kB / 0.5393 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3323, allocations: 202.6 kB / 0.5395 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.3326, allocations: 339.9 kB / 0.5398 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006961/0.3333, allocations: 0.7771 MB / 0.5406 GB, free: 6.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3333, allocations: 1 kB / 0.5406 GB, free: 6.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3333, allocations: 3.938 kB / 0.5406 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.3333, allocations: 4 kB / 0.5406 GB, free: 6.738 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.002059/0.3354, allocations: 1.155 MB / 0.5417 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3354, allocations: 10.5 kB / 0.5417 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.3356, allocations: 98.67 kB / 0.5418 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.3365, allocations: 0.5918 MB / 0.5424 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.3365, allocations: 36.66 kB / 0.5424 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.3366, allocations: 55.09 kB / 0.5425 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.3376, allocations: 0.6212 MB / 0.5431 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3376, allocations: 6.219 kB / 0.5431 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.3377, allocations: 16.69 kB / 0.5431 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3377, allocations: 15.58 kB / 0.5431 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.3387, allocations: 466.1 kB / 0.5436 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.3421, allocations: 2.65 MB / 0.5462 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.3431, allocations: 0.5483 MB / 0.5467 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.3437, allocations: 258.4 kB / 0.547 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.3437, allocations: 4 kB / 0.547 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3437, allocations: 42.59 kB / 0.547 GB, free: 1.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.3438, allocations: 3.938 kB / 0.547 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002251/0.346, allocations: 1.128 MB / 0.5481 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.3461, allocations: 162.2 kB / 0.5483 GB, free: 348 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.347, allocations: 0.6528 MB / 0.5489 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.3471, allocations: 41.64 kB / 0.5489 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.3474, allocations: 364.1 kB / 0.5493 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.3475, allocations: 169.5 kB / 0.5494 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3477, allocations: 118.2 kB / 0.5496 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3478, allocations: 333.9 kB / 0.5499 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000585/0.3484, allocations: 279.3 kB / 0.5501 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.3491, allocations: 425.5 kB / 0.5506 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3503, allocations: 0.6935 MB / 0.5512 GB, free: 13.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3503, allocations: 0 / 0.5512 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001519/0.3518, allocations: 0.7951 MB / 0.552 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3519, allocations: 8 kB / 0.552 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3519, allocations: 8.031 kB / 0.552 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3519, allocations: 8 kB / 0.552 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.3526, allocations: 147.8 kB / 0.5522 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.747e-05/0.3526, allocations: 11.98 kB / 0.5522 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.3531, allocations: 83.56 kB / 0.5523 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.3532, allocations: 24 kB / 0.5523 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007488/0.354, allocations: 409.2 kB / 0.5527 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006074/0.3546, allocations: 417.3 kB / 0.5531 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.3557, allocations: 0.6582 MB / 0.5537 GB, free: 10.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.3557, allocations: 4 kB / 0.5537 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001432/0.3571, allocations: 0.7697 MB / 0.5545 GB, free: 9.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3572, allocations: 8 kB / 0.5545 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3572, allocations: 4 kB / 0.5545 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.3572, allocations: 8 kB / 0.5545 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.3578, allocations: 147.7 kB / 0.5546 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.3578, allocations: 11.98 kB / 0.5546 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.3583, allocations: 83.67 kB / 0.5547 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.3584, allocations: 20 kB / 0.5547 GB, free: 9.387 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.0001715/0.3585, allocations: 220.1 kB / 0.555 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3587, allocations: 75.06 kB / 0.555 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.3589, allocations: 90.2 kB / 0.5551 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3589, allocations: 11.95 kB / 0.5551 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3589, allocations: 7.938 kB / 0.5551 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.3591, allocations: 188.1 kB / 0.5553 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.3592, allocations: 12 kB / 0.5553 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.3598, allocations: 55.88 kB / 0.5554 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3599, allocations: 35.94 kB / 0.5554 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002492/0.3624, allocations: 1.032 MB / 0.5564 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001971/0.3644, allocations: 1.276 MB / 0.5577 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005622/0.3649, allocations: 295.7 kB / 0.5579 GB, free: 6.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006218/0.3656, allocations: 459 kB / 0.5584 GB, free: 5.613 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.3656, allocations: 0 / 0.5584 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3676, allocations: 0.8263 MB / 0.5592 GB, free: 4.785 MB / 414.1 MB Notification: Performance of SimCode: time 0.002447/0.3701, allocations: 1.905 MB / 0.561 GB, free: 2.832 MB / 414.1 MB Notification: Performance of Templates: time 0.01965/0.3898, allocations: 12.32 MB / 0.5731 GB, free: 6.57 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