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.001262/0.001262, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.00105/0.00105, allocations: 192 kB / 18.56 MB, free: 4.434 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.323/1.323, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2011/0.2011, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 67.8 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1232, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003014/0.1263, allocations: 1.847 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.1266, allocations: 151.4 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.1267, allocations: 4 kB / 471.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.009e-05/0.1268, allocations: 15.8 kB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.1269, allocations: 59.48 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.1271, allocations: 31.95 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1272, allocations: 187.1 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1274, allocations: 61.38 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.1275, allocations: 67.73 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1276, allocations: 75.69 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1277, allocations: 12 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.818e-05/0.1277, allocations: 16 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.1277, allocations: 31.86 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.1278, allocations: 79.67 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.128, allocations: 187.6 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1281, allocations: 4 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1281, allocations: 0 / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1281, allocations: 0 / 472.1 MB, free: 11.55 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.0005479/0.1286, allocations: 458.2 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1287, allocations: 8.031 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.1287, allocations: 16.75 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1289, allocations: 204.1 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1289, allocations: 12.7 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.129, allocations: 28.28 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1293, allocations: 162.2 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1293, allocations: 8.188 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1293, allocations: 7.938 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1293, allocations: 4 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1295, allocations: 91.88 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.1303, allocations: 0.6073 MB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1305, allocations: 141.1 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.1306, allocations: 53.83 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1306, allocations: 4 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1306, allocations: 34.56 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1306, allocations: 0 / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007565/0.1314, allocations: 381.4 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1314, allocations: 85.05 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1316, allocations: 130.9 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1316, allocations: 33.7 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.1317, allocations: 124.1 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.1317, allocations: 59.19 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.1318, allocations: 33.72 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1319, allocations: 322.8 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.132, allocations: 35.98 kB / 475 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1321, allocations: 114.1 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1323, allocations: 160.4 kB / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1323, allocations: 0 / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003374/0.1326, allocations: 235.2 kB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1326, allocations: 4 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1327, allocations: 4 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.1329, allocations: 49.69 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.133, allocations: 35.92 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.1352, allocations: 2.986 MB / 478.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.1353, allocations: 19.88 kB / 478.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1353, allocations: 4 kB / 478.6 MB, free: 4.312 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.0001451/0.1354, allocations: 133.7 kB / 478.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.1355, allocations: 11.91 kB / 478.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.1355, allocations: 24.7 kB / 478.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1355, allocations: 4 kB / 478.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1356, allocations: 0 / 478.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1356, allocations: 3.938 kB / 478.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1359, allocations: 237.5 kB / 479.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1359, allocations: 0 / 479.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.136, allocations: 27.98 kB / 479.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1362, allocations: 45.69 kB / 479.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1362, allocations: 11.94 kB / 479.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.1381, allocations: 2.974 MB / 482.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1381, allocations: 4.031 kB / 482.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.1385, allocations: 372.4 kB / 482.5 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.1386, allocations: 89 kB / 482.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1386, allocations: 4.062 kB / 482.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1387, allocations: 11.92 kB / 482.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.1388, allocations: 15.88 kB / 482.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1388, allocations: 4 kB / 482.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.831e-05/0.1388, allocations: 103.6 kB / 482.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1388, allocations: 4 kB / 482.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.1393, allocations: 55.91 kB / 482.8 MB, free: 15.82 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.0001181/0.1394, allocations: 95.38 kB / 482.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.1399, allocations: 353.7 kB / 483.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.14, allocations: 288 / 483.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.1403, allocations: 297.2 kB / 483.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1408, allocations: 35.95 kB / 483.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1418, allocations: 0.6435 MB / 484.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1422, allocations: 0.7203 MB / 484.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.1422, allocations: 13.44 kB / 484.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.1422, allocations: 11.44 kB / 484.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1422, allocations: 0 / 484.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Templates: time 0.004929/0.1472, allocations: 1.911 MB / 486.8 MB, free: 11.64 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/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