Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",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.001937/0.001937, allocations: 181.7 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.2 MB / 218.9 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 94.11 kB / 267 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4594/0.4594, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.964e-05/5.974e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/0.6746, allocations: 88.11 MB / 0.5589 GB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.6749, allocations: 62.3 kB / 0.559 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03303/0.7079, allocations: 11.74 MB / 0.5705 GB, free: 7.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.708, allocations: 0 / 0.5705 GB, free: 7.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.708, allocations: 12.12 kB / 0.5705 GB, free: 7.359 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001952/0.71, allocations: 0.8939 MB / 0.5713 GB, free: 6.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7101, allocations: 12.03 kB / 0.5714 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.7102, allocations: 92.89 kB / 0.5714 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.7103, allocations: 59.44 kB / 0.5715 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.7108, allocations: 358.6 kB / 0.5718 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003199/0.7112, allocations: 273.1 kB / 0.5721 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.7113, allocations: 47.91 kB / 0.5721 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.7122, allocations: 0.6235 MB / 0.5728 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.7122, allocations: 0 / 0.5728 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.7123, allocations: 17.56 kB / 0.5728 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.7123, allocations: 12.69 kB / 0.5728 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.7135, allocations: 0.8379 MB / 0.5736 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.7161, allocations: 2.085 MB / 0.5756 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.7174, allocations: 0.582 MB / 0.5762 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.7179, allocations: 314.5 kB / 0.5765 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.718, allocations: 16.55 kB / 0.5765 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.718, allocations: 45.61 kB / 0.5766 GB, free: 2.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.885e-06/0.718, allocations: 0 / 0.5766 GB, free: 2.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.02091/0.7389, allocations: 7.402 MB / 0.5838 GB, free: 12.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.7391, allocations: 90.23 kB / 0.5839 GB, free: 12.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.7396, allocations: 370.5 kB / 0.5842 GB, free: 12.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.7398, allocations: 47.7 kB / 0.5843 GB, free: 12.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.74, allocations: 212 kB / 0.5845 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.7404, allocations: 407 kB / 0.5849 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.7405, allocations: 21.81 kB / 0.5849 GB, free: 11.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7407, allocations: 376.9 kB / 0.5853 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.7421, allocations: 0.9721 MB / 0.5862 GB, free: 10.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.7438, allocations: 1.126 MB / 0.5873 GB, free: 10.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.7453, allocations: 0.831 MB / 0.5881 GB, free: 9.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7454, allocations: 0 / 0.5881 GB, free: 9.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003617/0.749, allocations: 2.083 MB / 0.5901 GB, free: 8.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.749, allocations: 11.95 kB / 0.5902 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.7491, allocations: 6.812 kB / 0.5902 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.7491, allocations: 8 kB / 0.5902 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.7519, allocations: 466.2 kB / 0.5906 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.752, allocations: 11.94 kB / 0.5906 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.7542, allocations: 283.7 kB / 0.5909 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.7544, allocations: 45.86 kB / 0.5909 GB, free: 7.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase,integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0004311/0.7548, allocations: 173.9 kB / 0.5911 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.755, allocations: 63.25 kB / 0.5912 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.7554, allocations: 110 kB / 0.5913 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.7554, allocations: 16 kB / 0.5913 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/0.7555, allocations: 4 kB / 0.5913 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.7555, allocations: 11.97 kB / 0.5913 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009199/0.7647, allocations: 4.773 MB / 0.596 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.7648, allocations: 23.94 kB / 0.596 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.7664, allocations: 412.4 kB / 0.5964 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/0.7664, allocations: 32 kB / 0.5964 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.7665, allocations: 53.38 kB / 0.5965 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.94e-05/0.7666, allocations: 35.86 kB / 0.5965 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/0.7666, allocations: 35.81 kB / 0.5965 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.7707, allocations: 3.317 MB / 0.5998 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/0.7713, allocations: 243.5 kB / 0.6 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.7714, allocations: 53.55 kB / 0.6001 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.7729, allocations: 254 kB / 0.6003 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/0.7733, allocations: 232 kB / 0.6005 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/0.7734, allocations: 58.88 kB / 0.6006 GB, free: 14.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003826/0.7738, allocations: 274.4 kB / 0.6008 GB, free: 14.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7738, allocations: 4 kB / 0.6008 GB, free: 14.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001095/0.7749, allocations: 235.9 kB / 0.6011 GB, free: 14.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.008287/0.7832, allocations: 10.3 MB / 0.6111 GB, free: 3.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.7866, allocations: 1.688 MB / 0.6128 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.7866, allocations: 4.844 kB / 0.6128 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.7888, allocations: 0.7915 MB / 0.6136 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.79, allocations: 128.1 kB / 0.6137 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.7944, allocations: 1.866 MB / 0.6155 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.7951, allocations: 0.9359 MB / 0.6164 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001367/0.7965, allocations: 199.7 kB / 0.6166 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/0.7972, allocations: 219.4 kB / 0.6168 GB, free: 13.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7972, allocations: 0 / 0.6168 GB, free: 13.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/0.8446, allocations: 20.04 MB / 0.6364 GB, free: 9.059 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.8448, allocations: 145 kB / 0.6365 GB, free: 8.828 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.511, allocations: 3.938 kB / 0.6365 GB, free: 8.824 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat does not exist to compare? outputFormat=mat