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.001014/0.001014, allocations: 96.86 kB / 15.7 MB, free: 468 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.001474/0.001474, allocations: 172.5 kB / 16.58 MB, free: 5.938 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.4/1.4, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3873/0.3873, allocations: 43.55 MB / 314.6 MB, free: 8.77 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.0005688/0.000569, allocations: 14.97 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00318/0.1134, allocations: 2.825 MB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.1162, allocations: 1.517 MB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.1166, allocations: 19.88 kB / 447.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.1171, allocations: 111.2 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.1176, allocations: 159 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1187, allocations: 419.3 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009866/0.1197, allocations: 0.7872 MB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.1201, allocations: 181.2 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.1205, allocations: 298.5 kB / 449.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.121, allocations: 326.3 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.1211, allocations: 20 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.1212, allocations: 24 kB / 449.5 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.1213, allocations: 147.4 kB / 449.7 MB, free: 6.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1215, allocations: 133.3 kB / 449.8 MB, free: 5.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.1219, allocations: 0.5378 MB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1219, allocations: 0 / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1219, allocations: 0 / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.122, allocations: 4 kB / 450.3 MB, free: 5.438 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.001936/0.1239, allocations: 1.055 MB / 451.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.124, allocations: 12.03 kB / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1241, allocations: 82.53 kB / 451.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1242, allocations: 94.83 kB / 451.6 MB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/0.125, allocations: 0.5382 MB / 452.1 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.1251, allocations: 41 kB / 452.2 MB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.1252, allocations: 48 kB / 452.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1263, allocations: 0.6368 MB / 452.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1263, allocations: 0 / 452.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.1263, allocations: 16 kB / 452.9 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1264, allocations: 15.95 kB / 452.9 MB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009884/0.1274, allocations: 0.4939 MB / 453.4 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1903/0.3177, allocations: 2.68 MB / 456 MB, free: 44.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/0.3187, allocations: 0.5803 MB / 456.6 MB, free: 44.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.3192, allocations: 269.2 kB / 456.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.3193, allocations: 5.375 kB / 456.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3193, allocations: 39.25 kB / 456.9 MB, free: 44.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.3193, allocations: 3.844 kB / 456.9 MB, free: 44.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002162/0.3215, allocations: 1.215 MB / 458.1 MB, free: 44.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3215, allocations: 134.5 kB / 458.3 MB, free: 44.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/0.3224, allocations: 0.6485 MB / 458.9 MB, free: 44.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.3224, allocations: 34.42 kB / 459 MB, free: 44.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3226, allocations: 370.1 kB / 459.3 MB, free: 43.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3228, allocations: 171.2 kB / 459.5 MB, free: 43.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.3228, allocations: 14.41 kB / 459.5 MB, free: 43.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.3229, allocations: 334.8 kB / 459.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.3235, allocations: 285.1 kB / 460.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.3241, allocations: 446.4 kB / 460.5 MB, free: 43.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.3247, allocations: 337.9 kB / 460.9 MB, free: 43.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3247, allocations: 4.531 kB / 460.9 MB, free: 43.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001442/0.3261, allocations: 0.8308 MB / 461.7 MB, free: 43.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.784e-05/0.3263, allocations: 228 kB / 461.9 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3263, allocations: 5.688 kB / 461.9 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.3263, allocations: 5.969 kB / 461.9 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.3269, allocations: 167 kB / 462.1 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.327, allocations: 8.406 kB / 462.1 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.3275, allocations: 93.98 kB / 462.2 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.3276, allocations: 24.12 kB / 462.2 MB, free: 42.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.3276, allocations: 2.844 kB / 462.2 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.3288, allocations: 0.7143 MB / 462.9 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3288, allocations: 6.781 kB / 463 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3288, allocations: 8.156 kB / 463 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.3294, allocations: 154.1 kB / 463.1 MB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.3294, allocations: 9.781 kB / 463.1 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.33, allocations: 87.61 kB / 463.2 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.33, allocations: 31.44 kB / 463.2 MB, free: 42.89 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.0002744/0.3303, allocations: 285.7 kB / 463.5 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3304, allocations: 74.94 kB / 463.6 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3306, allocations: 91.77 kB / 463.7 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3307, allocations: 6.172 kB / 463.7 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3307, allocations: 2.969 kB / 463.7 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3307, allocations: 2.344 kB / 463.7 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.3319, allocations: 0.8681 MB / 464.6 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3319, allocations: 0 / 464.6 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.3324, allocations: 109.8 kB / 464.7 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.3325, allocations: 3.781 kB / 464.7 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.3325, allocations: 20.58 kB / 464.7 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3325, allocations: 7.219 kB / 464.7 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3325, allocations: 2.406 kB / 464.7 MB, free: 42.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3341, allocations: 1.21 MB / 465.9 MB, free: 41.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.3343, allocations: 192.4 kB / 466.1 MB, free: 41.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.3344, allocations: 14.86 kB / 466.1 MB, free: 41.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.3349, allocations: 62.05 kB / 466.2 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.335, allocations: 36.53 kB / 466.2 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.3351, allocations: 12.88 kB / 466.2 MB, free: 41.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005667/0.3356, allocations: 460 kB / 466.7 MB, free: 41.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3356, allocations: 0 / 466.7 MB, free: 41.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008173/0.3365, allocations: 195.5 kB / 466.9 MB, free: 41.71 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.001787/0.3383, allocations: 1.754 MB / 468.6 MB, free: 40.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.34, allocations: 1.024 MB / 469.6 MB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.34, allocations: 0 / 469.6 MB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.3405, allocations: 306.3 kB / 469.9 MB, free: 40.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.3415, allocations: 174.8 kB / 470.1 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.3486, allocations: 4.913 MB / 475 MB, free: 38.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.349, allocations: 0.949 MB / 476 MB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.3494, allocations: 148.6 kB / 476.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.3497, allocations: 259.5 kB / 476.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3498, allocations: 0 / 476.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.3797, allocations: 13.43 MB / 489.8 MB, free: 36.13 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003596/0.3801, allocations: 166.3 kB / 490 MB, free: 35.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.53, allocations: 0 / 490 MB, free: 35.89 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