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.001623/0.001624, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 82.08 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00336/0.1222, allocations: 1.92 MB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.1226, allocations: 151.5 kB / 481.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1227, allocations: 7.938 kB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.155e-05/0.1229, allocations: 15.86 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.123, allocations: 43.61 kB / 481.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.1232, allocations: 39.97 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1234, allocations: 175.1 kB / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1236, allocations: 49.83 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1237, allocations: 63.73 kB / 481.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1239, allocations: 71.69 kB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1239, allocations: 8 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.1239, allocations: 12 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.124, allocations: 31.84 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.1241, allocations: 79.61 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1243, allocations: 175.6 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1243, allocations: 0 / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1243, allocations: 0 / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1243, allocations: 0 / 482.2 MB, free: 2.793 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.000607/0.1249, allocations: 451.3 kB / 482.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.125, allocations: 8.875 kB / 482.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.125, allocations: 54.73 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1251, allocations: 16.75 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1253, allocations: 208.1 kB / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1253, allocations: 8.703 kB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1254, allocations: 24.28 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1257, allocations: 166.2 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1257, allocations: 3.938 kB / 483.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1257, allocations: 11.98 kB / 483.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1258, allocations: 4 kB / 483.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1259, allocations: 87.89 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.1268, allocations: 0.6111 MB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.127, allocations: 137.1 kB / 484 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.1271, allocations: 53.7 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1271, allocations: 0 / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1271, allocations: 34.56 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1272, allocations: 0 / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008242/0.128, allocations: 381.4 kB / 484.4 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.128, allocations: 81.11 kB / 484.5 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1282, allocations: 141.1 kB / 484.6 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1282, allocations: 25.7 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.1283, allocations: 128 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.1283, allocations: 63.12 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.1284, allocations: 41.7 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1285, allocations: 322.8 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.1286, allocations: 35.98 kB / 485.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1287, allocations: 96.58 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.129, allocations: 160.6 kB / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.129, allocations: 0 / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003673/0.1293, allocations: 230.8 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1294, allocations: 8 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1294, allocations: 0 / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.1296, allocations: 49.69 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1297, allocations: 39.92 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.1319, allocations: 2.721 MB / 488.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.132, allocations: 15.84 kB / 488.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1321, allocations: 12 kB / 488.6 MB, free: 11.77 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.0001237/0.1322, allocations: 134.3 kB / 488.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.1322, allocations: 11.91 kB / 488.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1323, allocations: 16.7 kB / 488.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1323, allocations: 4 kB / 488.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1323, allocations: 0 / 488.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1323, allocations: 3.938 kB / 488.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.1326, allocations: 237.4 kB / 489 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1326, allocations: 0 / 489 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1328, allocations: 23.98 kB / 489 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.1329, allocations: 53.69 kB / 489 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.133, allocations: 7.938 kB / 489 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.1355, allocations: 2.724 MB / 491.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.1356, allocations: 4.031 kB / 491.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.1361, allocations: 372.3 kB / 492.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1362, allocations: 88.95 kB / 492.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1362, allocations: 8 kB / 492.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1363, allocations: 8.094 kB / 492.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1364, allocations: 15.92 kB / 492.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1364, allocations: 4 kB / 492.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.329e-05/0.1365, allocations: 95.27 kB / 492.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1365, allocations: 0 / 492.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.1371, allocations: 55.91 kB / 492.4 MB, free: 7.555 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.001049/0.1381, allocations: 0.9078 MB / 493.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007844/0.1389, allocations: 353.2 kB / 493.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1389, allocations: 0 / 493.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.1394, allocations: 281.3 kB / 493.9 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.1402, allocations: 32.3 kB / 494 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.1431, allocations: 2.381 MB / 496.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.1436, allocations: 0.7281 MB / 497.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.1436, allocations: 9.422 kB / 497.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.1437, allocations: 39.42 kB / 497.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1437, allocations: 4 kB / 497.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.161, allocations: 3.49 MB / 0.4889 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.1612, allocations: 252.6 kB / 0.4891 GB, free: 15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.045, allocations: 0 / 0.4891 GB, free: 15 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches