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.002466/0.002472, allocations: 179.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001086/0.001086, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2753/0.2753, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.81e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.6043, allocations: 84.91 MB / 0.5557 GB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6046, allocations: 74.11 kB / 0.5558 GB, free: 2.703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009591/0.6142, allocations: 2.619 MB / 0.5583 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6143, allocations: 3.938 kB / 0.5583 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.6143, allocations: 4 kB / 0.5583 GB, free: 0.5 MB / 362.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.0004928/0.6148, allocations: 410 kB / 0.5587 GB, free: 64 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6149, allocations: 12.03 kB / 0.5587 GB, free: 52 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.615, allocations: 15.81 kB / 0.5588 GB, free: 36 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.6152, allocations: 182.8 kB / 0.5589 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.6152, allocations: 12.14 kB / 0.5589 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.6153, allocations: 23.59 kB / 0.559 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.6157, allocations: 159.7 kB / 0.5591 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.6157, allocations: 7.938 kB / 0.5591 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.6157, allocations: 3.875 kB / 0.5591 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.6158, allocations: 8 kB / 0.5591 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.616, allocations: 88.05 kB / 0.5592 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.6172, allocations: 0.608 MB / 0.5598 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.6175, allocations: 124 kB / 0.5599 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.6177, allocations: 53.27 kB / 0.56 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.6177, allocations: 0 / 0.56 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.6177, allocations: 42.55 kB / 0.56 GB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.6178, allocations: 0 / 0.56 GB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005635/0.6183, allocations: 149.8 kB / 0.5602 GB, free: 14.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6184, allocations: 81.11 kB / 0.5602 GB, free: 14.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.6186, allocations: 117.5 kB / 0.5604 GB, free: 14.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6186, allocations: 33 kB / 0.5604 GB, free: 14.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.6187, allocations: 202.1 kB / 0.5606 GB, free: 14.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.6188, allocations: 58.94 kB / 0.5606 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.6188, allocations: 3.812 kB / 0.5606 GB, free: 14.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.619, allocations: 318.5 kB / 0.5609 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.6191, allocations: 39.56 kB / 0.561 GB, free: 13.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.6192, allocations: 106.5 kB / 0.5611 GB, free: 13.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.6194, allocations: 51.14 kB / 0.5611 GB, free: 13.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6194, allocations: 8 kB / 0.5611 GB, free: 13.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005719/0.62, allocations: 213.3 kB / 0.5613 GB, free: 13.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.62, allocations: 4 kB / 0.5613 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6201, allocations: 4 kB / 0.5613 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.6204, allocations: 53.5 kB / 0.5614 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.6206, allocations: 35.92 kB / 0.5614 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.6234, allocations: 2.717 MB / 0.5641 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.6236, allocations: 18.06 kB / 0.5641 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.6236, allocations: 6.75 kB / 0.5641 GB, free: 10.51 MB / 378.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 0.0001134/0.6237, allocations: 114.7 kB / 0.5642 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.6238, allocations: 19.84 kB / 0.5642 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.6239, allocations: 12.88 kB / 0.5643 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6239, allocations: 4 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6239, allocations: 4.094 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6239, allocations: 0 / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.6243, allocations: 239.9 kB / 0.5645 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6244, allocations: 0 / 0.5645 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.6247, allocations: 27.98 kB / 0.5645 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.6249, allocations: 44.83 kB / 0.5646 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.625, allocations: 3.953 kB / 0.5646 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.6276, allocations: 2.714 MB / 0.5672 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6277, allocations: 3.984 kB / 0.5672 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.6283, allocations: 389.9 kB / 0.5676 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.649e-05/0.6284, allocations: 84.97 kB / 0.5677 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.6284, allocations: 15.31 kB / 0.5677 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.6286, allocations: 0 / 0.5677 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.6287, allocations: 15.83 kB / 0.5677 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.6287, allocations: 7.922 kB / 0.5677 GB, free: 6.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.6288, allocations: 104.3 kB / 0.5678 GB, free: 6.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6288, allocations: 0 / 0.5678 GB, free: 6.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.6294, allocations: 58.59 kB / 0.5679 GB, free: 6.535 MB / 378.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.0001852/0.6296, allocations: 100.3 kB / 0.568 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.6305, allocations: 339.1 kB / 0.5683 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.6305, allocations: 0 / 0.5683 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.631, allocations: 285.6 kB / 0.5686 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.6315, allocations: 21.83 kB / 0.5686 GB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.6328, allocations: 0.6083 MB / 0.5692 GB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.6332, allocations: 0.736 MB / 0.5699 GB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.6333, allocations: 11.44 kB / 0.5699 GB, free: 4.422 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6333, allocations: 0 / 0.5699 GB, free: 4.422 MB / 378.7 MB Notification: Performance of Templates: time 0.007089/0.6404, allocations: 3.001 MB / 0.5728 GB, free: 1.449 MB / 378.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