Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 195.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 244.1 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007949/0.000795, allocations: 104.1 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3048/0.3048, allocations: 44.82 MB / 393 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 4 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3995, allocations: 87.09 MB / 0.6015 GB, free: 2.316 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.3998, allocations: 63.95 kB / 0.6016 GB, free: 2.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006397/0.4062, allocations: 2.674 MB / 0.6042 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4062, allocations: 3.938 kB / 0.6042 GB, free: 15.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4062, allocations: 4 kB / 0.6042 GB, free: 15.57 MB / 426.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.0004292/0.4066, allocations: 415.4 kB / 0.6046 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4067, allocations: 16.02 kB / 0.6046 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.4067, allocations: 20.75 kB / 0.6046 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4069, allocations: 184.1 kB / 0.6048 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4069, allocations: 12.7 kB / 0.6048 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.4069, allocations: 24.28 kB / 0.6048 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4072, allocations: 166.1 kB / 0.605 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4072, allocations: 192 / 0.605 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4072, allocations: 11.94 kB / 0.605 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4073, allocations: 4 kB / 0.605 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.4074, allocations: 99.14 kB / 0.6051 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.4082, allocations: 0.6189 MB / 0.6057 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4084, allocations: 125.2 kB / 0.6058 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.4085, allocations: 58.95 kB / 0.6059 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.4085, allocations: 0 / 0.6059 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4085, allocations: 30.56 kB / 0.6059 GB, free: 13.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.4085, allocations: 4 kB / 0.6059 GB, free: 13.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007468/0.4093, allocations: 385.2 kB / 0.6063 GB, free: 13.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.4093, allocations: 81.11 kB / 0.6064 GB, free: 13.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.4094, allocations: 131.8 kB / 0.6065 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4095, allocations: 29.7 kB / 0.6065 GB, free: 12.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.4095, allocations: 128 kB / 0.6066 GB, free: 12.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.4096, allocations: 55.56 kB / 0.6067 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4096, allocations: 4 kB / 0.6067 GB, free: 12.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4097, allocations: 326.8 kB / 0.607 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.4098, allocations: 35.98 kB / 0.607 GB, free: 12.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4099, allocations: 116.3 kB / 0.6071 GB, free: 12.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.4101, allocations: 152.5 kB / 0.6073 GB, free: 12.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4101, allocations: 0 / 0.6073 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000352/0.4105, allocations: 234.7 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4105, allocations: 4 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4105, allocations: 7.984 kB / 0.6075 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.4107, allocations: 53.94 kB / 0.6076 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4108, allocations: 36.16 kB / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.4127, allocations: 2.716 MB / 0.6103 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.4128, allocations: 19.86 kB / 0.6103 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4128, allocations: 8 kB / 0.6103 GB, free: 8.688 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 () * Number of clocked 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 0.000106/0.4129, allocations: 133.7 kB / 0.6104 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.413, allocations: 11.91 kB / 0.6104 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.413, allocations: 12.72 kB / 0.6104 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.413, allocations: 4 kB / 0.6104 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.413, allocations: 4.203 kB / 0.6105 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.413, allocations: 7.969 kB / 0.6105 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.4133, allocations: 237.4 kB / 0.6107 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4133, allocations: 0 / 0.6107 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.4135, allocations: 27.92 kB / 0.6107 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.4136, allocations: 49.69 kB / 0.6108 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4136, allocations: 0 / 0.6108 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.4154, allocations: 2.724 MB / 0.6134 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4154, allocations: 0 / 0.6134 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.4158, allocations: 372.5 kB / 0.6138 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.4158, allocations: 92.91 kB / 0.6139 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4158, allocations: 0 / 0.6139 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.416, allocations: 12 kB / 0.6139 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.416, allocations: 7.984 kB / 0.6139 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.416, allocations: 4 kB / 0.6139 GB, free: 4.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.4161, allocations: 101.4 kB / 0.614 GB, free: 4.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4161, allocations: 4 kB / 0.614 GB, free: 4.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.4165, allocations: 59.84 kB / 0.614 GB, free: 4.473 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 () * Number of clocked 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.0001377/0.4166, allocations: 104.3 kB / 0.6141 GB, free: 4.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.4171, allocations: 341.7 kB / 0.6145 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4171, allocations: 3.938 kB / 0.6145 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.4174, allocations: 281.3 kB / 0.6147 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4179, allocations: 34.88 kB / 0.6148 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4189, allocations: 0.8074 MB / 0.6156 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.4192, allocations: 0.7281 MB / 0.6163 GB, free: 2.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.4193, allocations: 11.44 kB / 0.6163 GB, free: 2.062 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4193, allocations: 0 / 0.6163 GB, free: 2.062 MB / 426.7 MB Notification: Performance of Templates: time 0.004305/0.4236, allocations: 3.096 MB / 0.6193 GB, free: 14.98 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches