Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001085/0.001089, allocations: 186.2 kB / 15.76 MB, free: 6.367 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.707/1.707, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000945/0.0009448, allocations: 90.81 kB / 270.2 MB, free: 13.36 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.254/0.254, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.6121, allocations: 85 MB / 0.5618 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.6124, allocations: 65.02 kB / 0.5618 GB, free: 14.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00668/0.6191, allocations: 2.609 MB / 0.5644 GB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6192, allocations: 0 / 0.5644 GB, free: 12.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.6192, allocations: 4 kB / 0.5644 GB, free: 12.5 MB / 378.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.00058/0.6198, allocations: 422 kB / 0.5648 GB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.6199, allocations: 11.97 kB / 0.5648 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.6199, allocations: 16.69 kB / 0.5648 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.6202, allocations: 190.8 kB / 0.565 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.6202, allocations: 13.19 kB / 0.565 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.6203, allocations: 15.5 kB / 0.565 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.6206, allocations: 172.2 kB / 0.5652 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.6206, allocations: 7.906 kB / 0.5652 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.6207, allocations: 3.25 kB / 0.5652 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.6207, allocations: 4 kB / 0.5652 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.6209, allocations: 88.64 kB / 0.5653 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.6218, allocations: 0.6129 MB / 0.5659 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.622, allocations: 140.8 kB / 0.566 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.622, allocations: 8 kB / 0.566 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.622, allocations: 34.69 kB / 0.566 GB, free: 10.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.622, allocations: 0 / 0.566 GB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007873/0.6228, allocations: 387.8 kB / 0.5664 GB, free: 10.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.6229, allocations: 77.11 kB / 0.5665 GB, free: 10.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.623, allocations: 117.2 kB / 0.5666 GB, free: 10.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.623, allocations: 32.95 kB / 0.5666 GB, free: 10.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.6231, allocations: 123 kB / 0.5668 GB, free: 10.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.6232, allocations: 65.8 kB / 0.5668 GB, free: 9.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.6232, allocations: 7.375 kB / 0.5668 GB, free: 9.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6233, allocations: 322.8 kB / 0.5671 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.6234, allocations: 37.3 kB / 0.5672 GB, free: 9.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6235, allocations: 94.89 kB / 0.5673 GB, free: 9.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.6236, allocations: 59.67 kB / 0.5673 GB, free: 9.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6236, allocations: 0 / 0.5673 GB, free: 9.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003516/0.624, allocations: 223.2 kB / 0.5675 GB, free: 9.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.624, allocations: 4 kB / 0.5675 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.624, allocations: 4 kB / 0.5675 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.6242, allocations: 48.25 kB / 0.5676 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.6244, allocations: 39.42 kB / 0.5676 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.6265, allocations: 2.733 MB / 0.5703 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.6266, allocations: 19.12 kB / 0.5703 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6266, allocations: 8.25 kB / 0.5703 GB, free: 6.32 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 () * 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.0001138/0.6267, allocations: 140.2 kB / 0.5704 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.6268, allocations: 15.17 kB / 0.5705 GB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.6268, allocations: 15.84 kB / 0.5705 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6268, allocations: 0 / 0.5705 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6268, allocations: 4 kB / 0.5705 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6268, allocations: 0 / 0.5705 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.6271, allocations: 222.7 kB / 0.5707 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6271, allocations: 11.94 kB / 0.5707 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.6273, allocations: 31.42 kB / 0.5707 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.6274, allocations: 40.89 kB / 0.5708 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.6275, allocations: 15.25 kB / 0.5708 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6295, allocations: 2.732 MB / 0.5735 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6295, allocations: 0 / 0.5735 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.6299, allocations: 386.4 kB / 0.5738 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.63, allocations: 88.97 kB / 0.5739 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.63, allocations: 3.375 kB / 0.5739 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.6301, allocations: 4 kB / 0.5739 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.6302, allocations: 11.83 kB / 0.5739 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.6302, allocations: 4 kB / 0.5739 GB, free: 2.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.498e-05/0.6303, allocations: 102.2 kB / 0.574 GB, free: 2.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6303, allocations: 0 / 0.574 GB, free: 2.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.6307, allocations: 59.03 kB / 0.5741 GB, free: 2.34 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 () * 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.0001434/0.6309, allocations: 110.9 kB / 0.5742 GB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000517/0.6314, allocations: 340.1 kB / 0.5745 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6314, allocations: 4.062 kB / 0.5745 GB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.6317, allocations: 280.1 kB / 0.5748 GB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.6321, allocations: 29.42 kB / 0.5748 GB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.6333, allocations: 0.7866 MB / 0.5756 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.6336, allocations: 0.732 MB / 0.5763 GB, free: 52 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.791e-05/0.6336, allocations: 13.41 kB / 0.5763 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.6336, allocations: 11.44 kB / 0.5763 GB, free: 24 kB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6336, allocations: 384 / 0.5763 GB, free: 24 kB / 378.7 MB Notification: Performance of Templates: time 0.004363/0.638, allocations: 1.763 MB / 0.578 GB, free: 14.28 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/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_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches