Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",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.002154/0.002154, allocations: 177.8 kB / 8.36 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.044/2.044, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.002382/0.002381, allocations: 82.77 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.3627/0.3627, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.22e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4153, allocations: 58.86 MB / 477.2 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.6299, allocations: 95.34 MB / 0.5591 GB, free: 3.918 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.6302, allocations: 63.98 kB / 0.5592 GB, free: 3.855 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1348/0.765, allocations: 27.85 MB / 0.5864 GB, free: 7.914 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.765, allocations: 0 / 0.5864 GB, free: 7.914 MB / 427.1 MB Notification: Performance of Transformations before backend: time 9.983e-05/0.7652, allocations: 23.94 kB / 0.5864 GB, free: 7.891 MB / 427.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.002943/0.7681, allocations: 0.9473 MB / 0.5873 GB, free: 6.898 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.7682, allocations: 16.03 kB / 0.5873 GB, free: 6.883 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.7685, allocations: 90.91 kB / 0.5874 GB, free: 6.793 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.7702, allocations: 0.559 MB / 0.588 GB, free: 6.191 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.7702, allocations: 12 kB / 0.588 GB, free: 6.18 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.7704, allocations: 39.89 kB / 0.588 GB, free: 6.141 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/0.7714, allocations: 330.5 kB / 0.5883 GB, free: 5.82 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.7726, allocations: 0.4978 MB / 0.5888 GB, free: 5.266 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.7727, allocations: 8 kB / 0.5888 GB, free: 5.258 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.7728, allocations: 0 / 0.5888 GB, free: 5.258 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.7728, allocations: 12 kB / 0.5888 GB, free: 5.246 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006117/0.7789, allocations: 2.608 MB / 0.5914 GB, free: 2.551 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.7802, allocations: 460 kB / 0.5918 GB, free: 2.074 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.7807, allocations: 185.7 kB / 0.592 GB, free: 1.887 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.7807, allocations: 15.92 kB / 0.592 GB, free: 1.871 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.7808, allocations: 38.56 kB / 0.592 GB, free: 1.824 MB / 427.1 MB Notification: Performance of pre-optimization done (n=43): time 2.955e-06/0.7808, allocations: 4 kB / 0.592 GB, free: 1.82 MB / 427.1 MB Notification: Performance of matching and sorting (n=44): time 0.002131/0.783, allocations: 0.761 MB / 0.5928 GB, free: 1.047 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.7831, allocations: 136.5 kB / 0.5929 GB, free: 0.8828 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009046/0.784, allocations: 499.8 kB / 0.5934 GB, free: 400 kB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.7841, allocations: 25.7 kB / 0.5934 GB, free: 368 kB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.7844, allocations: 375.3 kB / 0.5938 GB, free: 15.98 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.7847, allocations: 173.6 kB / 0.5939 GB, free: 15.81 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.7847, allocations: 0 / 0.5939 GB, free: 15.81 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.7849, allocations: 330.8 kB / 0.5943 GB, free: 15.48 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.7854, allocations: 193.5 kB / 0.5944 GB, free: 15.29 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007082/0.7862, allocations: 350.7 kB / 0.5948 GB, free: 14.88 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006261/0.7868, allocations: 241 kB / 0.595 GB, free: 14.64 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7868, allocations: 4 kB / 0.595 GB, free: 14.64 MB / 443.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001516/0.7883, allocations: 0.5614 MB / 0.5956 GB, free: 14.07 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000708/0.7891, allocations: 1.753 MB / 0.5973 GB, free: 12.19 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.7891, allocations: 8 kB / 0.5973 GB, free: 12.18 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.7891, allocations: 8 kB / 0.5973 GB, free: 12.18 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.7905, allocations: 163.7 kB / 0.5974 GB, free: 12.02 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.7906, allocations: 11.94 kB / 0.5975 GB, free: 12 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.7917, allocations: 83.53 kB / 0.5975 GB, free: 11.92 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.7918, allocations: 27.98 kB / 0.5976 GB, free: 11.89 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7918, allocations: 7.953 kB / 0.5976 GB, free: 11.89 MB / 443.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/0.7932, allocations: 0.5033 MB / 0.5981 GB, free: 11.38 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.7933, allocations: 4 kB / 0.5981 GB, free: 11.38 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7933, allocations: 12.5 kB / 0.5981 GB, free: 11.37 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.7945, allocations: 151.8 kB / 0.5982 GB, free: 11.22 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.7946, allocations: 8 kB / 0.5982 GB, free: 11.21 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.7952, allocations: 67.58 kB / 0.5983 GB, free: 11.14 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.7953, allocations: 31.94 kB / 0.5983 GB, free: 11.11 MB / 443.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.0002111/0.7955, allocations: 116.8 kB / 0.5984 GB, free: 10.99 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001286/0.7968, allocations: 456.4 kB / 0.5989 GB, free: 10.54 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.7971, allocations: 67.16 kB / 0.5989 GB, free: 10.47 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.7973, allocations: 81.78 kB / 0.599 GB, free: 10.39 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.7974, allocations: 4 kB / 0.599 GB, free: 10.38 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7974, allocations: 4 kB / 0.599 GB, free: 10.38 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.7974, allocations: 7.984 kB / 0.599 GB, free: 10.37 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.7991, allocations: 0.7444 MB / 0.5998 GB, free: 9.582 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.7991, allocations: 4 kB / 0.5998 GB, free: 9.578 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8005, allocations: 119.8 kB / 0.5999 GB, free: 9.461 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.8005, allocations: 4 kB / 0.5999 GB, free: 9.457 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.8006, allocations: 8 kB / 0.5999 GB, free: 9.449 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.8006, allocations: 4 kB / 0.5999 GB, free: 9.445 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8006, allocations: 0 / 0.5999 GB, free: 9.445 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.8026, allocations: 0.9603 MB / 0.6008 GB, free: 8.457 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.8031, allocations: 200.1 kB / 0.601 GB, free: 8.242 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.8032, allocations: 8 kB / 0.601 GB, free: 8.234 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.8043, allocations: 55.94 kB / 0.6011 GB, free: 8.18 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.8045, allocations: 40.02 kB / 0.6011 GB, free: 8.141 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.8045, allocations: 19.94 kB / 0.6011 GB, free: 8.121 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0007213/0.8053, allocations: 387.1 kB / 0.6015 GB, free: 7.75 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8053, allocations: 0 / 0.6015 GB, free: 7.75 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001214/0.8065, allocations: 168 kB / 0.6017 GB, free: 7.586 MB / 443.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.002384/0.8089, allocations: 1.655 MB / 0.6033 GB, free: 5.895 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.811, allocations: 0.7409 MB / 0.604 GB, free: 5.156 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8111, allocations: 0 / 0.604 GB, free: 5.156 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.8117, allocations: 215.8 kB / 0.6042 GB, free: 4.945 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.8132, allocations: 166.4 kB / 0.6044 GB, free: 4.785 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.8175, allocations: 1.366 MB / 0.6057 GB, free: 3.359 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/0.8184, allocations: 0.9653 MB / 0.6066 GB, free: 2.367 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/0.8192, allocations: 267.3 kB / 0.6069 GB, free: 2.109 MB / 443.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8192, allocations: 0 / 0.6069 GB, free: 2.109 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.985/3.804, allocations: 11.43 MB / 0.6181 GB, free: 6.691 MB / 459.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat