Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 175.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4304/0.4304, allocations: 43.54 MB / 314.5 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007094/0.0007096, allocations: 16 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1238, allocations: 58.87 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003533/0.1274, allocations: 2.826 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1299, allocations: 1.493 MB / 447.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.1303, allocations: 23.81 kB / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.1306, allocations: 91.33 kB / 447.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.1311, allocations: 187.4 kB / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.132, allocations: 419.2 kB / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007898/0.1329, allocations: 0.5773 MB / 448.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.1332, allocations: 177.2 kB / 448.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.1337, allocations: 314.7 kB / 448.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1341, allocations: 318.4 kB / 449.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.1341, allocations: 20 kB / 449.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.1342, allocations: 24 kB / 449.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.1344, allocations: 151.4 kB / 449.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1345, allocations: 133.3 kB / 449.6 MB, free: 6.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.135, allocations: 0.5338 MB / 450.1 MB, free: 5.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.135, allocations: 8 kB / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.135, allocations: 0 / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.135, allocations: 0 / 450.1 MB, free: 5.895 MB / 382.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.002187/0.1372, allocations: 1.055 MB / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1373, allocations: 11.97 kB / 451.2 MB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1374, allocations: 86.52 kB / 451.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1375, allocations: 94.83 kB / 451.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.1385, allocations: 0.5343 MB / 451.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.1385, allocations: 37 kB / 451.9 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.1386, allocations: 48 kB / 452 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1397, allocations: 0.6329 MB / 452.6 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1398, allocations: 0 / 452.6 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.1398, allocations: 19.98 kB / 452.6 MB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.1398, allocations: 15.95 kB / 452.6 MB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.141, allocations: 0.49 MB / 453.1 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1799/0.3209, allocations: 2.689 MB / 455.8 MB, free: 45.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.3221, allocations: 0.5851 MB / 456.4 MB, free: 45.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.3222, allocations: 6 kB / 456.4 MB, free: 45.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3222, allocations: 36.97 kB / 456.4 MB, free: 45.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.3222, allocations: 0 / 456.4 MB, free: 45.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002265/0.3245, allocations: 1.212 MB / 457.6 MB, free: 45.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3246, allocations: 134.5 kB / 457.8 MB, free: 45.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.3253, allocations: 0.6488 MB / 458.4 MB, free: 45.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.3254, allocations: 39.64 kB / 458.5 MB, free: 45.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3256, allocations: 365.9 kB / 458.8 MB, free: 45.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/0.3257, allocations: 170.6 kB / 459 MB, free: 44.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3257, allocations: 12.38 kB / 459 MB, free: 44.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.3258, allocations: 330 kB / 459.3 MB, free: 44.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.3263, allocations: 283.7 kB / 459.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.3269, allocations: 447.3 kB / 460 MB, free: 44.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.3276, allocations: 328.3 kB / 460.4 MB, free: 44.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3276, allocations: 3.188 kB / 460.4 MB, free: 44.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001419/0.329, allocations: 0.8385 MB / 461.2 MB, free: 44.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.3293, allocations: 1.741 MB / 462.9 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3293, allocations: 5.125 kB / 462.9 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3294, allocations: 9.062 kB / 463 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.33, allocations: 161.8 kB / 463.1 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.33, allocations: 12.25 kB / 463.1 MB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.3305, allocations: 93.66 kB / 463.2 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.3305, allocations: 27.53 kB / 463.2 MB, free: 42.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.3306, allocations: 5.594 kB / 463.3 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001228/0.3318, allocations: 0.7172 MB / 464 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3318, allocations: 7.469 kB / 464 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.3318, allocations: 8.594 kB / 464 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.3324, allocations: 151.2 kB / 464.1 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3324, allocations: 13.84 kB / 464.1 MB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.3329, allocations: 85.19 kB / 464.2 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.3329, allocations: 24.84 kB / 464.3 MB, free: 42.47 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.3332, allocations: 290.1 kB / 464.5 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3333, allocations: 77.48 kB / 464.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3335, allocations: 91.25 kB / 464.7 MB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3335, allocations: 5.938 kB / 464.7 MB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3335, allocations: 2.25 kB / 464.7 MB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3335, allocations: 3.234 kB / 464.7 MB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3347, allocations: 0.8639 MB / 465.6 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3347, allocations: 6.594 kB / 465.6 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.3354, allocations: 116.2 kB / 465.7 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3354, allocations: 3.031 kB / 465.7 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.3354, allocations: 16.95 kB / 465.7 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3354, allocations: 3.5 kB / 465.7 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3354, allocations: 0 / 465.7 MB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3372, allocations: 1.238 MB / 467 MB, free: 41.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.3374, allocations: 197.7 kB / 467.1 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.3375, allocations: 16.22 kB / 467.2 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.338, allocations: 58.25 kB / 467.2 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.3381, allocations: 38.06 kB / 467.3 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.3382, allocations: 16.45 kB / 467.3 MB, free: 41.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005138/0.3387, allocations: 461.8 kB / 467.7 MB, free: 41.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3387, allocations: 0 / 467.7 MB, free: 41.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000747/0.3395, allocations: 196 kB / 467.9 MB, free: 41.25 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/0.3414, allocations: 1.906 MB / 469.8 MB, free: 40.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.3433, allocations: 1.017 MB / 470.8 MB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3433, allocations: 4.062 kB / 470.8 MB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.3439, allocations: 309.9 kB / 471.1 MB, free: 39.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.3447, allocations: 164.7 kB / 471.3 MB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/0.352, allocations: 7.712 MB / 479 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3524, allocations: 0.9711 MB / 480 MB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000543/0.353, allocations: 154.3 kB / 480.1 MB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.3534, allocations: 255 kB / 480.4 MB, free: 33.75 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3534, allocations: 7.125 kB / 480.4 MB, free: 33.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.3796, allocations: 13.4 MB / 493.8 MB, free: 32.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001232/0.3797, allocations: 165.7 kB / 494 MB, free: 32.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.524, allocations: 0 / 494 MB, free: 32.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat