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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.9 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.294/0.294, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3196, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004432/0.3241, allocations: 3.346 MB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3269, allocations: 1.603 MB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.3273, allocations: 23 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.3278, allocations: 136.7 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004699/0.3283, allocations: 185.6 kB / 0.5357 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3295, allocations: 0.5472 MB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009066/0.3304, allocations: 0.9038 MB / 0.5371 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.3308, allocations: 235.9 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.3312, allocations: 368.8 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.3317, allocations: 399.7 kB / 0.538 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.3318, allocations: 70 kB / 0.5381 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.332, allocations: 66.31 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.3322, allocations: 202.2 kB / 0.5384 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.3324, allocations: 344.1 kB / 0.5387 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007274/0.3332, allocations: 0.7802 MB / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3332, allocations: 0 / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3332, allocations: 3.938 kB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3332, allocations: 0 / 0.5395 GB, free: 6.566 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.002182/0.3354, allocations: 1.156 MB / 0.5406 GB, free: 5.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3354, allocations: 10.92 kB / 0.5406 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/0.3355, allocations: 80.02 kB / 0.5407 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.3358, allocations: 114.5 kB / 0.5408 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.3368, allocations: 0.5762 MB / 0.5413 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.3368, allocations: 37.09 kB / 0.5414 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.3369, allocations: 59.27 kB / 0.5414 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.338, allocations: 0.6211 MB / 0.542 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.338, allocations: 2.094 kB / 0.542 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.3381, allocations: 16.31 kB / 0.5421 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3381, allocations: 11.88 kB / 0.5421 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3392, allocations: 461.8 kB / 0.5425 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.3428, allocations: 2.662 MB / 0.5451 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3439, allocations: 0.5503 MB / 0.5457 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.3445, allocations: 251 kB / 0.5459 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.3446, allocations: 4.031 kB / 0.5459 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3446, allocations: 46.45 kB / 0.5459 GB, free: 1.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.953e-06/0.3446, allocations: 0 / 0.5459 GB, free: 1.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002447/0.3471, allocations: 1.128 MB / 0.547 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.3472, allocations: 162.4 kB / 0.5472 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.348, allocations: 0.6567 MB / 0.5478 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.348, allocations: 37.7 kB / 0.5479 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.3483, allocations: 356.1 kB / 0.5482 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3484, allocations: 173.5 kB / 0.5484 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.3486, allocations: 122.2 kB / 0.5485 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3487, allocations: 337.9 kB / 0.5488 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.3493, allocations: 267.3 kB / 0.5491 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.35, allocations: 433.5 kB / 0.5495 GB, free: 13.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.3513, allocations: 0.6878 MB / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3513, allocations: 3.938 kB / 0.5502 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001571/0.3529, allocations: 0.7946 MB / 0.5509 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3529, allocations: 8 kB / 0.5509 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3529, allocations: 4 kB / 0.5509 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3529, allocations: 8 kB / 0.551 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.3536, allocations: 152.3 kB / 0.5511 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.3536, allocations: 15.92 kB / 0.5511 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.3542, allocations: 71.62 kB / 0.5512 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.3542, allocations: 28 kB / 0.5512 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007293/0.3549, allocations: 409.3 kB / 0.5516 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006483/0.3556, allocations: 420.2 kB / 0.552 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001201/0.3568, allocations: 0.66 MB / 0.5526 GB, free: 10.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.718e-06/0.3568, allocations: 4 kB / 0.5527 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001477/0.3583, allocations: 0.7655 MB / 0.5534 GB, free: 9.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3583, allocations: 8.562 kB / 0.5534 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3583, allocations: 11.98 kB / 0.5534 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.3584, allocations: 8 kB / 0.5534 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.359, allocations: 143.8 kB / 0.5536 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.359, allocations: 15.88 kB / 0.5536 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.3595, allocations: 75.62 kB / 0.5537 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.3595, allocations: 28 kB / 0.5537 GB, free: 9.379 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.0001872/0.3597, allocations: 220.1 kB / 0.5539 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3599, allocations: 75.06 kB / 0.554 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3601, allocations: 86.2 kB / 0.554 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3601, allocations: 7.938 kB / 0.554 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3601, allocations: 4 kB / 0.5541 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3601, allocations: 0 / 0.5541 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3614, allocations: 0.8609 MB / 0.5549 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3614, allocations: 3.938 kB / 0.5549 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.3621, allocations: 103.9 kB / 0.555 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3621, allocations: 0 / 0.555 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.3622, allocations: 16 kB / 0.555 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3622, allocations: 0 / 0.555 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3622, allocations: 4 kB / 0.555 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.3642, allocations: 1.131 MB / 0.5561 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.3645, allocations: 204.1 kB / 0.5563 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.3646, allocations: 16 kB / 0.5563 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.3651, allocations: 47.94 kB / 0.5564 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3652, allocations: 39.89 kB / 0.5564 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.3653, allocations: 12.08 kB / 0.5564 GB, free: 6.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.3659, allocations: 467 kB / 0.5569 GB, free: 6.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3659, allocations: 0 / 0.5569 GB, free: 6.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007324/0.3666, allocations: 191.9 kB / 0.5571 GB, free: 5.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.002265/0.3689, allocations: 1.691 MB / 0.5587 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.371, allocations: 0.9583 MB / 0.5596 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.371, allocations: 0 / 0.5596 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.3716, allocations: 281.5 kB / 0.5599 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3727, allocations: 186.9 kB / 0.5601 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.3852, allocations: 6.609 MB / 0.5665 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.386, allocations: 0.9535 MB / 0.5675 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008159/0.3869, allocations: 148.8 kB / 0.5676 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.3874, allocations: 263.3 kB / 0.5679 GB, free: 10.44 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3874, allocations: 0 / 0.5679 GB, free: 10.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/0.4374, allocations: 14.8 MB / 0.5823 GB, free: 11.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.13, allocations: 10.38 kB / 0.5823 GB, free: 11.73 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > 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