Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",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.001173/0.001173, allocations: 96.36 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.001408/0.001408, allocations: 173.3 kB / 16.56 MB, free: 6.844 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.514/1.514, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3735/0.3735, allocations: 43.54 MB / 314.5 MB, free: 9.051 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.0005204/0.0005205, allocations: 12 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003498/0.1243, allocations: 2.869 MB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1268, allocations: 1.49 MB / 447.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.127, allocations: 19.88 kB / 447.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.1274, allocations: 95.33 kB / 447.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1278, allocations: 187.4 kB / 447.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.1286, allocations: 423.2 kB / 447.9 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.1293, allocations: 0.6085 MB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.1296, allocations: 169.2 kB / 448.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.13, allocations: 318.7 kB / 449 MB, free: 7.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.1304, allocations: 330.4 kB / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.1304, allocations: 20 kB / 449.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1306, allocations: 111.8 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1308, allocations: 151.4 kB / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.1309, allocations: 129.3 kB / 449.7 MB, free: 6.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.1314, allocations: 0.6313 MB / 450.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1314, allocations: 4 kB / 450.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1314, allocations: 4 kB / 450.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1314, allocations: 0 / 450.4 MB, free: 5.641 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.001926/0.1333, allocations: 1.074 MB / 451.4 MB, free: 4.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1334, allocations: 8.031 kB / 451.4 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.752e-05/0.1335, allocations: 82.52 kB / 451.5 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1336, allocations: 94.92 kB / 451.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.1344, allocations: 0.5343 MB / 452.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.1345, allocations: 37 kB / 452.2 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.1346, allocations: 59.97 kB / 452.2 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.1356, allocations: 0.629 MB / 452.9 MB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1356, allocations: 3.906 kB / 452.9 MB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.1356, allocations: 20 kB / 452.9 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1357, allocations: 15.95 kB / 452.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/0.1367, allocations: 0.4939 MB / 453.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1684/0.3051, allocations: 2.667 MB / 456.1 MB, free: 45.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3062, allocations: 0.5307 MB / 456.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.3062, allocations: 5.828 kB / 456.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3063, allocations: 52.09 kB / 456.7 MB, free: 45.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.457e-06/0.3063, allocations: 1.5 kB / 456.7 MB, free: 45.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002289/0.3086, allocations: 1.214 MB / 457.9 MB, free: 45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3086, allocations: 134.2 kB / 458 MB, free: 44.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.3093, allocations: 0.6525 MB / 458.7 MB, free: 44.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3093, allocations: 35.14 kB / 458.7 MB, free: 44.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3095, allocations: 365.1 kB / 459 MB, free: 44.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.3096, allocations: 180.7 kB / 459.2 MB, free: 44.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.3097, allocations: 10.78 kB / 459.2 MB, free: 44.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.3097, allocations: 338.3 kB / 459.6 MB, free: 44.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.3103, allocations: 292.6 kB / 459.9 MB, free: 44.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.3108, allocations: 463.5 kB / 460.3 MB, free: 43.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.3114, allocations: 338.4 kB / 460.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3114, allocations: 0 / 460.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001349/0.3128, allocations: 0.8643 MB / 461.5 MB, free: 43.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000252/0.3131, allocations: 1.748 MB / 463.2 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3131, allocations: 5.062 kB / 463.3 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3131, allocations: 7.625 kB / 463.3 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.3139, allocations: 212.3 kB / 463.5 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3139, allocations: 7.594 kB / 463.5 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.3144, allocations: 96.67 kB / 463.6 MB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.3145, allocations: 21 kB / 463.6 MB, free: 42.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-06/0.3145, allocations: 5.812 kB / 463.6 MB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/0.3156, allocations: 0.7421 MB / 464.3 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3157, allocations: 5.844 kB / 464.3 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.3157, allocations: 8.625 kB / 464.4 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.3164, allocations: 202.3 kB / 464.5 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3164, allocations: 14.19 kB / 464.6 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.3168, allocations: 85.56 kB / 464.6 MB, free: 41.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3169, allocations: 25.86 kB / 464.7 MB, free: 41.94 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.000218/0.3171, allocations: 289.4 kB / 465 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3172, allocations: 79.81 kB / 465 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.3174, allocations: 89.34 kB / 465.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3174, allocations: 6.391 kB / 465.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3175, allocations: 0 / 465.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3175, allocations: 6.266 kB / 465.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.3192, allocations: 1.294 MB / 466.4 MB, free: 41.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3192, allocations: 3.219 kB / 466.4 MB, free: 41.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.3198, allocations: 119.4 kB / 466.5 MB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3198, allocations: 2.969 kB / 466.5 MB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3199, allocations: 16.27 kB / 466.6 MB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3199, allocations: 3.531 kB / 466.6 MB, free: 41.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3199, allocations: 10.89 kB / 466.6 MB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.3217, allocations: 1.273 MB / 467.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.3219, allocations: 199.2 kB / 468 MB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.322, allocations: 15.62 kB / 468.1 MB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.3225, allocations: 65 kB / 468.1 MB, free: 40.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.3227, allocations: 38.33 kB / 468.2 MB, free: 40.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3227, allocations: 16.25 kB / 468.2 MB, free: 40.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006179/0.3233, allocations: 461.2 kB / 468.6 MB, free: 40.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3233, allocations: 5.531 kB / 468.6 MB, free: 40.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.3242, allocations: 221.3 kB / 468.8 MB, free: 40.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002206/0.3264, allocations: 2.133 MB / 471 MB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.3285, allocations: 1.051 MB / 472 MB, free: 38.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3285, allocations: 0 / 472 MB, free: 38.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.329, allocations: 314.8 kB / 472.3 MB, free: 38.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/0.3299, allocations: 175.6 kB / 472.5 MB, free: 38.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/0.3363, allocations: 7.819 MB / 480.3 MB, free: 33.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3366, allocations: 0.9659 MB / 481.3 MB, free: 32.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.337, allocations: 144.3 kB / 481.4 MB, free: 32.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.3373, allocations: 264.1 kB / 481.7 MB, free: 32.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3373, allocations: 0 / 481.7 MB, free: 32.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5198/0.8572, allocations: 14.37 MB / 496.1 MB, free: 31.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.8574, allocations: 177.6 kB / 496.2 MB, free: 31.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.729, allocations: 3.938 kB / 496.2 MB, free: 31.32 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat