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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001978/0.001978, allocations: 186.2 kB / 7.804 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001025/0.001024, allocations: 90.69 kB / 261.4 MB, free: 13.53 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.2739/0.2739, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3132/0.5871, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.9877, allocations: 58.83 MB / 476.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/1.127, allocations: 87.37 MB / 0.5508 GB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.127, allocations: 59.98 kB / 0.5508 GB, free: 11.48 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.03982/1.167, allocations: 12.35 MB / 0.5629 GB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.167, allocations: 8 kB / 0.5629 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/1.168, allocations: 63.44 kB / 0.563 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/1.168, allocations: 365.7 kB / 0.5633 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/1.169, allocations: 263.1 kB / 0.5636 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/1.169, allocations: 31.92 kB / 0.5636 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/1.171, allocations: 0.8025 MB / 0.5644 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.172, allocations: 0.5687 MB / 0.5649 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/1.172, allocations: 7.844 kB / 0.565 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/1.172, allocations: 3.984 kB / 0.565 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.172, allocations: 12 kB / 0.565 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/1.176, allocations: 2.016 MB / 0.5669 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.177, allocations: 459.5 kB / 0.5674 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/1.178, allocations: 294.8 kB / 0.5677 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.178, allocations: 20.53 kB / 0.5677 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.178, allocations: 39.12 kB / 0.5677 GB, free: 9.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.117e-06/1.178, allocations: 0 / 0.5677 GB, free: 9.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02433/1.202, allocations: 7.177 MB / 0.5747 GB, free: 2.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/1.202, allocations: 94.05 kB / 0.5748 GB, free: 2.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/1.203, allocations: 357.9 kB / 0.5752 GB, free: 2.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002057/1.203, allocations: 25.7 kB / 0.5752 GB, free: 2.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/1.204, allocations: 181.1 kB / 0.5754 GB, free: 1.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00067/1.204, allocations: 386.1 kB / 0.5757 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/1.204, allocations: 3.938 kB / 0.5757 GB, free: 1.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002764/1.205, allocations: 374.8 kB / 0.5761 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/1.207, allocations: 0.9556 MB / 0.577 GB, free: 176 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.209, allocations: 1.097 MB / 0.5781 GB, free: 15.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/1.21, allocations: 0.8072 MB / 0.5789 GB, free: 14.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.21, allocations: 4 kB / 0.5789 GB, free: 14.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004058/1.214, allocations: 2.045 MB / 0.5809 GB, free: 12.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.214, allocations: 6.812 kB / 0.5809 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.214, allocations: 4 kB / 0.5809 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/1.214, allocations: 8 kB / 0.5809 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/1.217, allocations: 487.4 kB / 0.5814 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/1.218, allocations: 12 kB / 0.5814 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.22, allocations: 283.7 kB / 0.5816 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/1.22, allocations: 40 kB / 0.5817 GB, free: 11.34 MB / 426.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.0004971/1.221, allocations: 141.4 kB / 0.5818 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/1.221, allocations: 67.25 kB / 0.5819 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/1.221, allocations: 68.72 kB / 0.5819 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.221, allocations: 12 kB / 0.582 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.221, allocations: 0 / 0.582 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.221, allocations: 3.984 kB / 0.582 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.232, allocations: 4.735 MB / 0.5866 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.885e-05/1.232, allocations: 20 kB / 0.5866 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.234, allocations: 443.5 kB / 0.587 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.744e-05/1.234, allocations: 39.84 kB / 0.5871 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/1.234, allocations: 28 kB / 0.5871 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.219e-05/1.234, allocations: 35.86 kB / 0.5871 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.532e-05/1.234, allocations: 31.88 kB / 0.5872 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005126/1.239, allocations: 3.25 MB / 0.5903 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005618/1.245, allocations: 4.161 MB / 0.5944 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/1.245, allocations: 240.2 kB / 0.5946 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/1.246, allocations: 31.98 kB / 0.5946 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.247, allocations: 259.8 kB / 0.5949 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/1.248, allocations: 215.2 kB / 0.5951 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.248, allocations: 60 kB / 0.5952 GB, free: 11.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004432/1.249, allocations: 264.6 kB / 0.5954 GB, free: 11.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002289/1.251, allocations: 195.9 kB / 0.5956 GB, free: 10.96 MB / 442.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.0004472/1.251, allocations: 153.5 kB / 0.5957 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003834/1.255, allocations: 1.623 MB / 0.5973 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.255, allocations: 4 kB / 0.5973 GB, free: 9.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/1.258, allocations: 0.7546 MB / 0.5981 GB, free: 8.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.259, allocations: 109 kB / 0.5982 GB, free: 8.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/1.263, allocations: 1.668 MB / 0.5998 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.265, allocations: 1.033 MB / 0.6008 GB, free: 5.277 MB / 442.7 MB Notification: Performance of SimCode: time 2.826e-06/1.265, allocations: 0 / 0.6008 GB, free: 5.277 MB / 442.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