Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 108.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 243 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 61.53 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003231/0.1364, allocations: 1.842 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003376/0.1367, allocations: 151.4 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1368, allocations: 4 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.004e-05/0.1369, allocations: 23.78 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1371, allocations: 51.56 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.1372, allocations: 43.88 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1374, allocations: 179.1 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1376, allocations: 61.38 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.1377, allocations: 71.66 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1378, allocations: 71.7 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1378, allocations: 20 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.639e-05/0.1379, allocations: 12 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.1379, allocations: 39.84 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.138, allocations: 83.59 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1382, allocations: 175.4 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1382, allocations: 0 / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1382, allocations: 0 / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1382, allocations: 0 / 473.5 MB, free: 10.84 MB / 350.1 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.0006217/0.1389, allocations: 455.3 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1389, allocations: 12.03 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.139, allocations: 20.69 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1392, allocations: 200.1 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1392, allocations: 12.7 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.1393, allocations: 20.28 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1395, allocations: 166.2 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1396, allocations: 8.125 kB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1396, allocations: 7.938 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1396, allocations: 8 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1398, allocations: 95.88 kB / 474.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.1406, allocations: 0.6111 MB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1408, allocations: 129.2 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.917e-05/0.1409, allocations: 49.89 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1409, allocations: 7.938 kB / 475.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1409, allocations: 34.55 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1409, allocations: 0 / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000753/0.1417, allocations: 381.2 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1418, allocations: 81.11 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1419, allocations: 133.5 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1419, allocations: 33.7 kB / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.142, allocations: 124.1 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.142, allocations: 55.19 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.1421, allocations: 41.66 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1422, allocations: 322.8 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.1423, allocations: 35.98 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1424, allocations: 116.2 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1426, allocations: 152.5 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1426, allocations: 0 / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003435/0.1429, allocations: 230.9 kB / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.143, allocations: 4 kB / 477 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.143, allocations: 7.984 kB / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.1432, allocations: 45.7 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1433, allocations: 35.92 kB / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.1454, allocations: 2.994 MB / 480.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.1455, allocations: 16 kB / 480.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1455, allocations: 16 kB / 480.1 MB, free: 3.594 MB / 350.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1457, allocations: 129.7 kB / 480.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.1457, allocations: 7.906 kB / 480.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.1457, allocations: 24.64 kB / 480.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1457, allocations: 0 / 480.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1458, allocations: 4 kB / 480.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1458, allocations: 3.938 kB / 480.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.1461, allocations: 233.5 kB / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1461, allocations: 3.984 kB / 480.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.1462, allocations: 24 kB / 480.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.1463, allocations: 49.72 kB / 480.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1464, allocations: 11.94 kB / 480.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.1483, allocations: 2.982 MB / 483.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1483, allocations: 11.91 kB / 483.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.1487, allocations: 367.8 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1488, allocations: 89 kB / 484 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1488, allocations: 8.062 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1489, allocations: 3.938 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1489, allocations: 15.92 kB / 484.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.149, allocations: 8 kB / 484.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.149, allocations: 103.2 kB / 484.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.149, allocations: 0 / 484.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.1495, allocations: 51.91 kB / 484.2 MB, free: 15.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.1496, allocations: 95.25 kB / 484.3 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1501, allocations: 357.6 kB / 484.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1501, allocations: 0 / 484.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.1504, allocations: 285.2 kB / 484.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.1509, allocations: 28.22 kB / 485 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.1519, allocations: 0.6416 MB / 485.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1522, allocations: 0.7281 MB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.1523, allocations: 5.438 kB / 486.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.1523, allocations: 11.44 kB / 486.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1523, allocations: 0 / 486.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.004901/0.1572, allocations: 1.915 MB / 488.3 MB, free: 10.95 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches