Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",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 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.4 MB / 230.3 MB, free: 7.727 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 83.88 kB / 281.2 MB, free: 5.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.14 MB / 376.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2779/0.4911, allocations: 68.03 MB / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.6282, allocations: 61.91 MB / 0.4942 GB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/1.013, allocations: 87.25 MB / 0.5794 GB, free: 9.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.014, allocations: 64.62 kB / 0.5794 GB, free: 9.496 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.01893/1.033, allocations: 6.713 MB / 0.586 GB, free: 2.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.033, allocations: 15.94 kB / 0.586 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/1.033, allocations: 43.44 kB / 0.5861 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/1.033, allocations: 275.3 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.033, allocations: 12 kB / 0.5863 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/1.033, allocations: 24 kB / 0.5863 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003885/1.034, allocations: 189.5 kB / 0.5865 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/1.034, allocations: 304.7 kB / 0.5868 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.034, allocations: 7.906 kB / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/1.034, allocations: 0 / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/1.034, allocations: 8 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/1.036, allocations: 1.016 MB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/1.036, allocations: 229.5 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/1.036, allocations: 154.7 kB / 0.5882 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/1.036, allocations: 11.98 kB / 0.5882 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.036, allocations: 42.56 kB / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 3.096e-06/1.036, allocations: 0 / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.003176/1.04, allocations: 2.116 MB / 0.5903 GB, free: 13.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/1.04, allocations: 110.8 kB / 0.5904 GB, free: 13.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/1.04, allocations: 161.9 kB / 0.5906 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/1.04, allocations: 25.7 kB / 0.5906 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/1.04, allocations: 169.2 kB / 0.5908 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.04, allocations: 189.1 kB / 0.5909 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.04, allocations: 0 / 0.5909 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/1.04, allocations: 350.7 kB / 0.5913 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.041, allocations: 105.3 kB / 0.5914 GB, free: 12.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.041, allocations: 197.5 kB / 0.5916 GB, free: 12.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/1.041, allocations: 139.7 kB / 0.5917 GB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.041, allocations: 4 kB / 0.5917 GB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008799/1.042, allocations: 459.3 kB / 0.5921 GB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.042, allocations: 8 kB / 0.5921 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.042, allocations: 4.094 kB / 0.5921 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/1.042, allocations: 122.5 kB / 0.5923 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/1.043, allocations: 99.88 kB / 0.5924 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/1.047, allocations: 4.432 MB / 0.5967 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.047, allocations: 15.98 kB / 0.5967 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/1.047, allocations: 16.06 kB / 0.5967 GB, free: 6.867 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.047, allocations: 112.9 kB / 0.5968 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.047, allocations: 39.59 kB / 0.5969 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/1.047, allocations: 37.58 kB / 0.5969 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.047, allocations: 8 kB / 0.5969 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.047, allocations: 4 kB / 0.5969 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.047, allocations: 3.984 kB / 0.5969 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/1.049, allocations: 1.195 MB / 0.5981 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.049, allocations: 0 / 0.5981 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/1.05, allocations: 99.88 kB / 0.5982 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/1.05, allocations: 94.52 kB / 0.5983 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/1.05, allocations: 7.938 kB / 0.5983 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/1.054, allocations: 3.901 MB / 0.6021 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.054, allocations: 8.125 kB / 0.6021 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001384/1.055, allocations: 0.8929 MB / 0.603 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001498/1.057, allocations: 1.414 MB / 0.6043 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/1.057, allocations: 109.2 kB / 0.6044 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/1.057, allocations: 0 / 0.6044 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/1.057, allocations: 15.94 kB / 0.6045 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/1.057, allocations: 55.77 kB / 0.6045 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/1.057, allocations: 12 kB / 0.6045 GB, free: 14.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.538e-05/1.058, allocations: 128.4 kB / 0.6047 GB, free: 14.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001222/1.059, allocations: 96 kB / 0.6047 GB, free: 14.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/1.059, allocations: 107.1 kB / 0.6048 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/1.06, allocations: 0.6412 MB / 0.6055 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.06, allocations: 0 / 0.6055 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/1.061, allocations: 0.4997 MB / 0.606 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/1.061, allocations: 34.72 kB / 0.606 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/1.063, allocations: 0.8871 MB / 0.6069 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/1.064, allocations: 0.8645 MB / 0.6077 GB, free: 10.91 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/1.064, allocations: 0 / 0.6077 GB, free: 10.91 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat