Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [: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 trunk/package.mo): time 0.00172/0.00172, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008619/0.0008618, allocations: 94.52 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1925/0.1925, allocations: 45.15 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.556e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4628, allocations: 88.32 MB / 0.59 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4631, allocations: 67.69 kB / 0.5901 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01682/0.4799, allocations: 6.155 MB / 0.5961 GB, free: 9.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.48, allocations: 8 kB / 0.5961 GB, free: 9.562 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.000971/0.481, allocations: 0.5849 MB / 0.5967 GB, free: 8.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.481, allocations: 15.97 kB / 0.5967 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.4814, allocations: 79.41 kB / 0.5968 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4818, allocations: 272.1 kB / 0.597 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4818, allocations: 16 kB / 0.597 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.4819, allocations: 28 kB / 0.5971 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003763/0.4823, allocations: 190.7 kB / 0.5972 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.4828, allocations: 310.4 kB / 0.5975 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.4828, allocations: 6.719 kB / 0.5976 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.4829, allocations: 0 / 0.5976 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4829, allocations: 12.75 kB / 0.5976 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.4844, allocations: 1.015 MB / 0.5986 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.4847, allocations: 229.6 kB / 0.5988 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.4849, allocations: 150.5 kB / 0.5989 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.485, allocations: 11.98 kB / 0.5989 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.485, allocations: 41.88 kB / 0.599 GB, free: 6.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.983e-06/0.485, allocations: 0 / 0.599 GB, free: 6.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.003276/0.4883, allocations: 2.106 MB / 0.601 GB, free: 4.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.4884, allocations: 106.8 kB / 0.6011 GB, free: 4.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4886, allocations: 163.5 kB / 0.6013 GB, free: 4.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4886, allocations: 25.7 kB / 0.6013 GB, free: 4.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4887, allocations: 174.5 kB / 0.6015 GB, free: 4.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4889, allocations: 192.9 kB / 0.6017 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.4889, allocations: 0 / 0.6017 GB, free: 4.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.489, allocations: 348.5 kB / 0.602 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.4892, allocations: 98.88 kB / 0.6021 GB, free: 3.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.4895, allocations: 197.3 kB / 0.6023 GB, free: 3.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4897, allocations: 139.1 kB / 0.6024 GB, free: 3.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4897, allocations: 0 / 0.6024 GB, free: 3.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000829/0.4905, allocations: 472.8 kB / 0.6029 GB, free: 3.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4906, allocations: 4 kB / 0.6029 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4906, allocations: 4 kB / 0.6029 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.491, allocations: 118.1 kB / 0.603 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.4914, allocations: 107.3 kB / 0.6031 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.4954, allocations: 4.426 MB / 0.6074 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.4957, allocations: 8 kB / 0.6074 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.4957, allocations: 27.38 kB / 0.6074 GB, free: 14.44 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.0001609/0.4959, allocations: 124.4 kB / 0.6076 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.496, allocations: 31.62 kB / 0.6076 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.4962, allocations: 31.34 kB / 0.6076 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4962, allocations: 4 kB / 0.6076 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.4962, allocations: 4 kB / 0.6076 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4962, allocations: 7.984 kB / 0.6076 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4982, allocations: 1.194 MB / 0.6088 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.4982, allocations: 7.906 kB / 0.6088 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.4987, allocations: 103 kB / 0.6089 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.499, allocations: 89.81 kB / 0.609 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.499, allocations: 4 kB / 0.609 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.502, allocations: 3.907 MB / 0.6128 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5021, allocations: 3.938 kB / 0.6128 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001162/0.5032, allocations: 0.8891 MB / 0.6137 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/0.5034, allocations: 104.7 kB / 0.6138 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.5034, allocations: 4 kB / 0.6138 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.5037, allocations: 12 kB / 0.6138 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5038, allocations: 39.34 kB / 0.6138 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.5038, allocations: 18.38 kB / 0.6138 GB, free: 8.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001136/0.504, allocations: 124.2 kB / 0.614 GB, free: 7.898 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007323/0.5047, allocations: 96 kB / 0.6141 GB, free: 7.805 MB / 410.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.0001801/0.5049, allocations: 106 kB / 0.6142 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.5059, allocations: 0.6458 MB / 0.6148 GB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5059, allocations: 3.938 kB / 0.6148 GB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000706/0.5067, allocations: 0.5021 MB / 0.6153 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.5071, allocations: 35.53 kB / 0.6153 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.5088, allocations: 0.871 MB / 0.6162 GB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.5094, allocations: 0.8566 MB / 0.617 GB, free: 4.902 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5094, allocations: 3.938 kB / 0.617 GB, free: 4.898 MB / 410.7 MB Notification: Performance of Templates: time 0.009499/0.5189, allocations: 4.388 MB / 0.6213 GB, free: 0.5312 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches