Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 180.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 95.45 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2973/0.2973, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.877e-05, allocations: 0 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5692, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.7951, allocations: 94.94 MB / 0.5587 GB, free: 4.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.7955, allocations: 63.97 kB / 0.5588 GB, free: 4.188 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.8982, allocations: 14.61 MB / 0.573 GB, free: 5.551 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8982, allocations: 0 / 0.573 GB, free: 5.551 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.8983, allocations: 23.94 kB / 0.5731 GB, free: 5.527 MB / 411.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.003379/0.9017, allocations: 0.9551 MB / 0.574 GB, free: 4.523 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.9018, allocations: 12.02 kB / 0.574 GB, free: 4.512 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.9022, allocations: 94.92 kB / 0.5741 GB, free: 4.418 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.9042, allocations: 0.555 MB / 0.5746 GB, free: 3.824 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.9043, allocations: 16 kB / 0.5746 GB, free: 3.809 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.9044, allocations: 35.98 kB / 0.5747 GB, free: 3.773 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001164/0.9056, allocations: 330.5 kB / 0.575 GB, free: 3.449 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.9069, allocations: 0.4939 MB / 0.5755 GB, free: 2.898 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.907, allocations: 0 / 0.5755 GB, free: 2.898 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.9071, allocations: 7.938 kB / 0.5755 GB, free: 2.891 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.9071, allocations: 15.95 kB / 0.5755 GB, free: 2.875 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006557/0.9137, allocations: 2.615 MB / 0.5781 GB, free: 176 kB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.915, allocations: 461.2 kB / 0.5785 GB, free: 15.7 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.9155, allocations: 182.6 kB / 0.5787 GB, free: 15.51 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-05/0.9156, allocations: 8 kB / 0.5787 GB, free: 15.5 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.9157, allocations: 42.59 kB / 0.5787 GB, free: 15.45 MB / 427.1 MB Notification: Performance of pre-optimization done (n=43): time 3.557e-06/0.9157, allocations: 0 / 0.5787 GB, free: 15.45 MB / 427.1 MB Notification: Performance of matching and sorting (n=44): time 0.002398/0.9181, allocations: 0.7717 MB / 0.5795 GB, free: 14.67 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.9183, allocations: 136.5 kB / 0.5796 GB, free: 14.5 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.9193, allocations: 0.4958 MB / 0.5801 GB, free: 14 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.9195, allocations: 25.7 kB / 0.5801 GB, free: 13.97 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.9199, allocations: 375.2 kB / 0.5805 GB, free: 13.6 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.9202, allocations: 165.6 kB / 0.5806 GB, free: 13.44 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.9202, allocations: 0 / 0.5806 GB, free: 13.44 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9204, allocations: 334.8 kB / 0.5809 GB, free: 13.1 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.921, allocations: 193.5 kB / 0.5811 GB, free: 12.91 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00072/0.9218, allocations: 345 kB / 0.5815 GB, free: 12.5 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.9224, allocations: 237.1 kB / 0.5817 GB, free: 12.27 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.9225, allocations: 4 kB / 0.5817 GB, free: 12.27 MB / 427.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001627/0.9241, allocations: 0.5658 MB / 0.5822 GB, free: 11.7 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009079/0.925, allocations: 1.753 MB / 0.584 GB, free: 9.812 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.9251, allocations: 4 kB / 0.584 GB, free: 9.809 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/0.9251, allocations: 8 kB / 0.584 GB, free: 9.801 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.9266, allocations: 155.8 kB / 0.5841 GB, free: 9.648 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.9266, allocations: 11.94 kB / 0.5841 GB, free: 9.637 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.9277, allocations: 87.53 kB / 0.5842 GB, free: 9.551 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/0.9278, allocations: 27.98 kB / 0.5842 GB, free: 9.523 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9279, allocations: 11.12 kB / 0.5842 GB, free: 9.516 MB / 427.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001535/0.9294, allocations: 0.4953 MB / 0.5847 GB, free: 9.02 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.9295, allocations: 8.562 kB / 0.5847 GB, free: 9.012 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.9295, allocations: 8 kB / 0.5847 GB, free: 9.004 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.9308, allocations: 159.7 kB / 0.5849 GB, free: 8.848 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.9308, allocations: 15.94 kB / 0.5849 GB, free: 8.832 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.9315, allocations: 67.58 kB / 0.585 GB, free: 8.766 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.9316, allocations: 24 kB / 0.585 GB, free: 8.742 MB / 427.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 () * 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.000251/0.9319, allocations: 120.7 kB / 0.5851 GB, free: 8.617 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001434/0.9333, allocations: 444.5 kB / 0.5855 GB, free: 8.176 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.9336, allocations: 75.16 kB / 0.5856 GB, free: 8.102 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.9339, allocations: 89.66 kB / 0.5857 GB, free: 8.012 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.9339, allocations: 12 kB / 0.5857 GB, free: 8 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.9339, allocations: 0 / 0.5857 GB, free: 8 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9339, allocations: 3.984 kB / 0.5857 GB, free: 7.996 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.9359, allocations: 0.7484 MB / 0.5864 GB, free: 7.203 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.9359, allocations: 0 / 0.5864 GB, free: 7.203 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.9374, allocations: 123.8 kB / 0.5866 GB, free: 7.082 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.9374, allocations: 3.953 kB / 0.5866 GB, free: 7.078 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.9376, allocations: 8 kB / 0.5866 GB, free: 7.07 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.9376, allocations: 4 kB / 0.5866 GB, free: 7.066 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.9376, allocations: 0 / 0.5866 GB, free: 7.066 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.9397, allocations: 0.9574 MB / 0.5875 GB, free: 6.074 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.9402, allocations: 200.2 kB / 0.5877 GB, free: 5.859 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.9404, allocations: 4 kB / 0.5877 GB, free: 5.855 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9415, allocations: 59.94 kB / 0.5878 GB, free: 5.797 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.9417, allocations: 35.94 kB / 0.5878 GB, free: 5.762 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.9418, allocations: 15.94 kB / 0.5878 GB, free: 5.746 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.9426, allocations: 383.1 kB / 0.5882 GB, free: 5.379 MB / 427.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.9426, allocations: 0 / 0.5882 GB, free: 5.379 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.00137/0.944, allocations: 168 kB / 0.5883 GB, free: 5.215 MB / 427.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 () * 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.002707/0.9468, allocations: 1.659 MB / 0.59 GB, free: 3.516 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.949, allocations: 0.7377 MB / 0.5907 GB, free: 2.781 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.949, allocations: 0 / 0.5907 GB, free: 2.781 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.9497, allocations: 215.8 kB / 0.5909 GB, free: 2.57 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.9513, allocations: 155.1 kB / 0.591 GB, free: 2.418 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.9559, allocations: 1.37 MB / 0.5924 GB, free: 0.9922 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/0.9568, allocations: 0.9654 MB / 0.5933 GB, free: 0 / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/0.9577, allocations: 271.3 kB / 0.5936 GB, free: 15.73 MB / 443.1 MB Notification: Performance of SimCode: time 1.413e-06/0.9577, allocations: 4 kB / 0.5936 GB, free: 15.73 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.084/4.042, allocations: 11.43 MB / 0.6047 GB, free: 4.309 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat