Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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: 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_3.2.3_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_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007602/0.0007601, allocations: 87.36 kB / 271.9 MB, free: 8.242 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.3274/0.3274, allocations: 43.56 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4695, allocations: 85.03 MB / 0.563 GB, free: 1.223 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.4697, allocations: 63.97 kB / 0.563 GB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006062/0.4758, allocations: 2.621 MB / 0.5656 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4758, allocations: 0 / 0.5656 GB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4758, allocations: 4 kB / 0.5656 GB, free: 14.56 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004847/0.4763, allocations: 415.1 kB / 0.566 GB, free: 14.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4764, allocations: 8.031 kB / 0.566 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.4765, allocations: 25.72 kB / 0.566 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4766, allocations: 180.2 kB / 0.5662 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4766, allocations: 16.7 kB / 0.5662 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.4767, allocations: 20.27 kB / 0.5662 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.4769, allocations: 177.1 kB / 0.5664 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.477, allocations: 4.172 kB / 0.5664 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.477, allocations: 16.7 kB / 0.5664 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.477, allocations: 4 kB / 0.5664 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.4772, allocations: 79.95 kB / 0.5665 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.4781, allocations: 0.6111 MB / 0.5671 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4783, allocations: 133.9 kB / 0.5672 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.4784, allocations: 51.27 kB / 0.5673 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4784, allocations: 6.953 kB / 0.5673 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4785, allocations: 42.67 kB / 0.5673 GB, free: 12.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4785, allocations: 0 / 0.5673 GB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008474/0.4793, allocations: 382 kB / 0.5677 GB, free: 12.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4794, allocations: 77.11 kB / 0.5677 GB, free: 12.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4795, allocations: 137.5 kB / 0.5679 GB, free: 11.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4795, allocations: 25.7 kB / 0.5679 GB, free: 11.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.4796, allocations: 132.1 kB / 0.568 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4797, allocations: 63.17 kB / 0.5681 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.4797, allocations: 0 / 0.5681 GB, free: 11.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4798, allocations: 327.2 kB / 0.5684 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.4799, allocations: 35.98 kB / 0.5684 GB, free: 11.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.48, allocations: 105.5 kB / 0.5685 GB, free: 11.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.4802, allocations: 153.5 kB / 0.5687 GB, free: 11.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4802, allocations: 0 / 0.5687 GB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003748/0.4806, allocations: 227 kB / 0.5689 GB, free: 10.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4806, allocations: 8 kB / 0.5689 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4806, allocations: 0 / 0.5689 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.4809, allocations: 53.62 kB / 0.5689 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.481, allocations: 31.98 kB / 0.569 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.4831, allocations: 2.719 MB / 0.5716 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.4832, allocations: 15.84 kB / 0.5717 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4832, allocations: 8 kB / 0.5717 GB, free: 7.715 MB / 394.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.0001309/0.4834, allocations: 141.8 kB / 0.5718 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.4834, allocations: 7.906 kB / 0.5718 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.4835, allocations: 20.7 kB / 0.5718 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4835, allocations: 0 / 0.5718 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4835, allocations: 7.828 kB / 0.5718 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4835, allocations: 0 / 0.5718 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.4838, allocations: 233.4 kB / 0.5721 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4838, allocations: 4 kB / 0.5721 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.484, allocations: 23.98 kB / 0.5721 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.4841, allocations: 53.62 kB / 0.5721 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.4842, allocations: 8 kB / 0.5721 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.4861, allocations: 2.715 MB / 0.5748 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4861, allocations: 12.03 kB / 0.5748 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.4865, allocations: 372.3 kB / 0.5752 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.4865, allocations: 85.23 kB / 0.5752 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4866, allocations: 12 kB / 0.5752 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.4867, allocations: 3.938 kB / 0.5753 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.4867, allocations: 19.98 kB / 0.5753 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4867, allocations: 4 kB / 0.5753 GB, free: 3.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.02e-05/0.4868, allocations: 95.25 kB / 0.5754 GB, free: 3.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4868, allocations: 4 kB / 0.5754 GB, free: 3.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004421/0.4873, allocations: 55.84 kB / 0.5754 GB, free: 3.5 MB / 394.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.0001339/0.4874, allocations: 103.2 kB / 0.5755 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.4879, allocations: 347.4 kB / 0.5759 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.488, allocations: 0 / 0.5759 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.4883, allocations: 281.8 kB / 0.5761 GB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.4887, allocations: 28.78 kB / 0.5761 GB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4898, allocations: 0.8177 MB / 0.5769 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4901, allocations: 0.7242 MB / 0.5777 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.4901, allocations: 11.44 kB / 0.5777 GB, free: 1.098 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4901, allocations: 0 / 0.5777 GB, free: 1.098 MB / 394.7 MB Notification: Performance of Templates: time 0.005002/0.4951, allocations: 3.115 MB / 0.5807 GB, free: 14 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches