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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001183, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.11 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1193, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003355/0.1227, allocations: 1.858 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.1232, allocations: 147.5 kB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1233, allocations: 4 kB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.743e-05/0.1234, allocations: 23.73 kB / 482.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1236, allocations: 51.55 kB / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.1238, allocations: 39.95 kB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.124, allocations: 187.1 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1242, allocations: 65.5 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.1243, allocations: 63.78 kB / 482.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1245, allocations: 75.69 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.1245, allocations: 16 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.1245, allocations: 12 kB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.1246, allocations: 39.8 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.1247, allocations: 79.61 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1249, allocations: 183.6 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1249, allocations: 0 / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1249, allocations: 0 / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1249, allocations: 4 kB / 483 MB, free: 2.371 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.0005472/0.1255, allocations: 455.3 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1255, allocations: 8.031 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.1256, allocations: 50.73 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1256, allocations: 16.75 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1258, allocations: 204.1 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1258, allocations: 12.7 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.1259, allocations: 16.28 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1261, allocations: 174.1 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1262, allocations: 11.94 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1262, allocations: 8 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1262, allocations: 4 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1264, allocations: 83.95 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.1272, allocations: 0.6188 MB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1274, allocations: 133.1 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.1275, allocations: 53.7 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1275, allocations: 0 / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1275, allocations: 42.69 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.123e-06/0.1275, allocations: 0 / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007684/0.1283, allocations: 377.4 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1284, allocations: 77.11 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1285, allocations: 134 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1285, allocations: 25.7 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.1286, allocations: 136 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1286, allocations: 59.58 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.1287, allocations: 37.7 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1288, allocations: 322.8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.1289, allocations: 35.98 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.129, allocations: 116.4 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1292, allocations: 152.5 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1292, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003574/0.1296, allocations: 222.9 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1296, allocations: 8.25 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1296, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.1298, allocations: 53.62 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.13, allocations: 35.98 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.1322, allocations: 2.991 MB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.1323, allocations: 15.84 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1324, allocations: 8 kB / 489.6 MB, free: 11.06 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.0001224/0.1325, allocations: 129.8 kB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.1325, allocations: 11.91 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.1326, allocations: 16.66 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1326, allocations: 4 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1326, allocations: 4.062 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1326, allocations: 3.984 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1329, allocations: 233.5 kB / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1329, allocations: 0 / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1331, allocations: 31.86 kB / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.1332, allocations: 49.69 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1333, allocations: 3.938 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.1356, allocations: 2.986 MB / 493.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1356, allocations: 4 kB / 493.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.136, allocations: 379.2 kB / 493.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.1361, allocations: 88.95 kB / 493.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1361, allocations: 0 / 493.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1362, allocations: 8 kB / 493.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.1363, allocations: 15.97 kB / 493.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1363, allocations: 8 kB / 493.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.1364, allocations: 97.66 kB / 493.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 493.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000455/0.1368, allocations: 51.91 kB / 493.7 MB, free: 6.578 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.0007199/0.1376, allocations: 0.9118 MB / 494.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.1382, allocations: 349.3 kB / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1382, allocations: 0 / 494.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.1385, allocations: 293.4 kB / 495.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.139, allocations: 36.5 kB / 495.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.1418, allocations: 2.314 MB / 497.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1421, allocations: 0.7203 MB / 498.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.1422, allocations: 17.41 kB / 498.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.1423, allocations: 47.42 kB / 498.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1423, allocations: 0 / 498.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.1708, allocations: 3.675 MB / 0.4903 GB, free: 14.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.684/9.855, allocations: 7.188 kB / 0.4903 GB, free: 14.12 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches