Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001538, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002704, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001887/0.13, allocations: 1.566 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.1304, allocations: 151.4 kB / 484.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.1304, allocations: 8 kB / 484.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.1305, allocations: 19.84 kB / 484.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1306, allocations: 43.67 kB / 484.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.1307, allocations: 31.92 kB / 484.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1309, allocations: 171.1 kB / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1311, allocations: 49.83 kB / 485.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.1312, allocations: 63.72 kB / 485.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1313, allocations: 67.7 kB / 485.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1313, allocations: 8 kB / 485.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.1314, allocations: 8 kB / 485.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.1314, allocations: 35.84 kB / 485.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.1315, allocations: 93.38 kB / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1317, allocations: 179.5 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1317, allocations: 0 / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1317, allocations: 0 / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1317, allocations: 0 / 485.5 MB, free: 1.672 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.0004509/0.1322, allocations: 427.4 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.445e-05/0.1322, allocations: 12.81 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1322, allocations: 28.67 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1324, allocations: 200.1 kB / 486.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1324, allocations: 8.703 kB / 486.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.1325, allocations: 20.38 kB / 486.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1328, allocations: 166.2 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1328, allocations: 8.094 kB / 486.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1328, allocations: 11.94 kB / 486.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1329, allocations: 4 kB / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.133, allocations: 91.88 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.1338, allocations: 0.6073 MB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1341, allocations: 129.1 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.1342, allocations: 57.83 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1342, allocations: 4 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1342, allocations: 38.56 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1342, allocations: 3.938 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007757/0.135, allocations: 385.2 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.135, allocations: 77.11 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1352, allocations: 130.1 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1352, allocations: 25.7 kB / 487.9 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.1353, allocations: 128 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1353, allocations: 67.09 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1354, allocations: 25.7 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1355, allocations: 322.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.1356, allocations: 35.98 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1357, allocations: 104.5 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1359, allocations: 156.8 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1359, allocations: 4 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003503/0.1362, allocations: 223.1 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1363, allocations: 8.25 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1363, allocations: 7.984 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.1365, allocations: 53.69 kB / 489 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1366, allocations: 35.92 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.1387, allocations: 2.709 MB / 491.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.1387, allocations: 15.81 kB / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1388, allocations: 16.12 kB / 491.8 MB, free: 10.74 MB / 366.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.0001008/0.1389, allocations: 133.7 kB / 492 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.1389, allocations: 23.98 kB / 492 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.139, allocations: 16.7 kB / 492 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.139, allocations: 4 kB / 492 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.139, allocations: 0 / 492 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.139, allocations: 0 / 492 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1393, allocations: 233.4 kB / 492.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1393, allocations: 0 / 492.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1394, allocations: 31.92 kB / 492.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.1396, allocations: 53.69 kB / 492.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1396, allocations: 4 kB / 492.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.1415, allocations: 2.72 MB / 495 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1415, allocations: 0 / 495 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1419, allocations: 384.5 kB / 495.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.142, allocations: 84.95 kB / 495.5 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.142, allocations: 8.062 kB / 495.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.1421, allocations: 3.938 kB / 495.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1421, allocations: 19.98 kB / 495.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1421, allocations: 0 / 495.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.545e-05/0.1422, allocations: 105.9 kB / 495.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1422, allocations: 4 kB / 495.6 MB, free: 6.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.1426, allocations: 48 kB / 495.7 MB, free: 6.516 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.0001016/0.1427, allocations: 107.1 kB / 495.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.1432, allocations: 345.2 kB / 496.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1432, allocations: 4 kB / 496.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1435, allocations: 285.2 kB / 496.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.144, allocations: 32.48 kB / 496.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1451, allocations: 0.7991 MB / 497.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1454, allocations: 0.7241 MB / 498 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.1454, allocations: 9.422 kB / 498 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1455, allocations: 19.44 kB / 498 MB, free: 4.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1455, allocations: 0 / 498 MB, free: 4.09 MB / 366.1 MB Notification: Performance of Templates: time 0.00445/0.1499, allocations: 1.829 MB / 499.8 MB, free: 2.273 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches