Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [: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.001093/0.001092, allocations: 203.9 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 225.5 MB / 234.4 MB, free: 14.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009744/0.0009745, allocations: 92.67 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3578/0.3578, allocations: 45.14 MB / 383.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.51e-06, allocations: 0 / 452.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3109, allocations: 63.24 MB / 0.5038 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4238, allocations: 86.42 MB / 0.5882 GB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.424, allocations: 63.95 kB / 0.5882 GB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.006557/0.4306, allocations: 2.346 MB / 0.5905 GB, free: 5.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4306, allocations: 0 / 0.5905 GB, free: 5.543 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004468/0.4311, allocations: 422.2 kB / 0.5909 GB, free: 5.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4311, allocations: 12.02 kB / 0.5909 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.4312, allocations: 19.64 kB / 0.591 GB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4314, allocations: 182.8 kB / 0.5911 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4314, allocations: 4 kB / 0.5911 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.4315, allocations: 12 kB / 0.5911 GB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/0.4316, allocations: 72.64 kB / 0.5912 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.4319, allocations: 137.3 kB / 0.5913 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4319, allocations: 7.906 kB / 0.5913 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4319, allocations: 4 kB / 0.5914 GB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4319, allocations: 4 kB / 0.5914 GB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.4327, allocations: 0.5649 MB / 0.5919 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.4329, allocations: 99.3 kB / 0.592 GB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.433, allocations: 49.7 kB / 0.592 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.433, allocations: 0 / 0.592 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.433, allocations: 42.56 kB / 0.5921 GB, free: 3.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.433, allocations: 0 / 0.5921 GB, free: 3.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000387/0.4334, allocations: 135.4 kB / 0.5922 GB, free: 3.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4335, allocations: 84.95 kB / 0.5923 GB, free: 3.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.4336, allocations: 117.2 kB / 0.5924 GB, free: 3.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.4336, allocations: 25.7 kB / 0.5924 GB, free: 3.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.4336, allocations: 132 kB / 0.5926 GB, free: 3.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.4337, allocations: 55.2 kB / 0.5926 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.4337, allocations: 0 / 0.5926 GB, free: 3.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4338, allocations: 318.8 kB / 0.5929 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.4339, allocations: 33.02 kB / 0.593 GB, free: 2.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.434, allocations: 96.58 kB / 0.593 GB, free: 2.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.4341, allocations: 52.95 kB / 0.5931 GB, free: 2.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4341, allocations: 0 / 0.5931 GB, free: 2.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003642/0.4345, allocations: 191 kB / 0.5933 GB, free: 2.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4345, allocations: 8 kB / 0.5933 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4345, allocations: 0 / 0.5933 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.4347, allocations: 49.95 kB / 0.5933 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4349, allocations: 36.77 kB / 0.5934 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.4369, allocations: 2.593 MB / 0.5959 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.437, allocations: 15.81 kB / 0.5959 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4371, allocations: 12 kB / 0.5959 GB, free: 15.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.4372, allocations: 108.9 kB / 0.596 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.4372, allocations: 7.906 kB / 0.596 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.4373, allocations: 24.33 kB / 0.5961 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4373, allocations: 0 / 0.5961 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4373, allocations: 8.062 kB / 0.5961 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4373, allocations: 0 / 0.5961 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.4375, allocations: 206 kB / 0.5963 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4376, allocations: 0 / 0.5963 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.4377, allocations: 23.98 kB / 0.5963 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.4379, allocations: 45.73 kB / 0.5963 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4379, allocations: 4 kB / 0.5963 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.4398, allocations: 2.6 MB / 0.5989 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4398, allocations: 0 / 0.5989 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003765/0.4402, allocations: 374.3 kB / 0.5992 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.4403, allocations: 88.86 kB / 0.5993 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4403, allocations: 7.984 kB / 0.5993 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4404, allocations: 0 / 0.5993 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.4404, allocations: 4 kB / 0.5993 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.4404, allocations: 8 kB / 0.5993 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.117e-05/0.4405, allocations: 97.66 kB / 0.5994 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.441, allocations: 51.84 kB / 0.5995 GB, free: 11.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.4411, allocations: 91.25 kB / 0.5996 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.4415, allocations: 311.7 kB / 0.5999 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4416, allocations: 0 / 0.5999 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.4418, allocations: 251.5 kB / 0.6001 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4422, allocations: 24.3 kB / 0.6001 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.4431, allocations: 0.5436 MB / 0.6007 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.4434, allocations: 0.7395 MB / 0.6014 GB, free: 9.492 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4434, allocations: 0 / 0.6014 GB, free: 9.492 MB / 426.7 MB Notification: Performance of Templates: time 0.004592/0.448, allocations: 1.854 MB / 0.6032 GB, free: 7.668 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches