Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2658/0.2658, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 83.81 kB / 0.491 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1387, allocations: 66.04 MB / 0.5554 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003494/0.1422, allocations: 1.673 MB / 0.5571 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003854/0.1426, allocations: 103.6 kB / 0.5572 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.1427, allocations: 0 / 0.5572 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.246e-05/0.1428, allocations: 23.8 kB / 0.5572 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1429, allocations: 35.7 kB / 0.5572 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.1431, allocations: 35.95 kB / 0.5573 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1432, allocations: 123.4 kB / 0.5574 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1434, allocations: 25.11 kB / 0.5574 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.1435, allocations: 51.8 kB / 0.5575 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.1436, allocations: 51.77 kB / 0.5575 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1436, allocations: 8 kB / 0.5575 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.1436, allocations: 8 kB / 0.5575 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.1436, allocations: 23.92 kB / 0.5575 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.1437, allocations: 55.75 kB / 0.5576 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1439, allocations: 127.5 kB / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1439, allocations: 0 / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1439, allocations: 0 / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1439, allocations: 0 / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005912/0.1445, allocations: 419.2 kB / 0.5581 GB, free: 2.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1446, allocations: 8.031 kB / 0.5581 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.1446, allocations: 38.75 kB / 0.5582 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1447, allocations: 12.89 kB / 0.5582 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1449, allocations: 200.2 kB / 0.5584 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1449, allocations: 12.61 kB / 0.5584 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1449, allocations: 12.38 kB / 0.5584 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1452, allocations: 133.5 kB / 0.5585 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.1452, allocations: 15.83 kB / 0.5585 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1452, allocations: 4 kB / 0.5585 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1452, allocations: 4 kB / 0.5585 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1453, allocations: 51.97 kB / 0.5586 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.1461, allocations: 0.5451 MB / 0.5591 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1463, allocations: 77.23 kB / 0.5592 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.1463, allocations: 33.67 kB / 0.5592 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1463, allocations: 4 kB / 0.5592 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1464, allocations: 38.56 kB / 0.5593 GB, free: 1.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1464, allocations: 0 / 0.5593 GB, free: 1.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.147, allocations: 297.4 kB / 0.5596 GB, free: 1.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1471, allocations: 81.11 kB / 0.5596 GB, free: 1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1472, allocations: 125.8 kB / 0.5598 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1472, allocations: 33.64 kB / 0.5598 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.1473, allocations: 115.8 kB / 0.5599 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.1473, allocations: 35.72 kB / 0.5599 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.1474, allocations: 33.72 kB / 0.56 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1475, allocations: 322.7 kB / 0.5603 GB, free: 320 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.1476, allocations: 23.98 kB / 0.5603 GB, free: 296 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.1477, allocations: 89.56 kB / 0.5604 GB, free: 176 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1478, allocations: 120.5 kB / 0.5605 GB, free: 24 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1478, allocations: 0 / 0.5605 GB, free: 24 kB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003162/0.1481, allocations: 171.1 kB / 0.5607 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1481, allocations: 10.02 kB / 0.5607 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1482, allocations: 7.938 kB / 0.5607 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.1483, allocations: 33.7 kB / 0.5607 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.1484, allocations: 23.94 kB / 0.5607 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.1508, allocations: 2.73 MB / 0.5634 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1509, allocations: 20.08 kB / 0.5634 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1509, allocations: 8 kB / 0.5634 GB, free: 12.73 MB / 430.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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.151, allocations: 117.8 kB / 0.5635 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1511, allocations: 7.938 kB / 0.5635 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.1511, allocations: 11.91 kB / 0.5636 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1511, allocations: 7.922 kB / 0.5636 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.1511, allocations: 8 kB / 0.5636 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1511, allocations: 4 kB / 0.5636 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.1514, allocations: 201.5 kB / 0.5638 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1514, allocations: 4 kB / 0.5638 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.855e-05/0.1515, allocations: 15.92 kB / 0.5638 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.1516, allocations: 41.64 kB / 0.5638 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1516, allocations: 0 / 0.5638 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.1538, allocations: 2.73 MB / 0.5665 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1539, allocations: 4.031 kB / 0.5665 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.1542, allocations: 312.4 kB / 0.5668 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.1543, allocations: 85.14 kB / 0.5669 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1543, allocations: 0 / 0.5669 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.1544, allocations: 0 / 0.5669 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.1544, allocations: 11.98 kB / 0.5669 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1544, allocations: 4 kB / 0.5669 GB, free: 8.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.851e-05/0.1545, allocations: 99.64 kB / 0.567 GB, free: 8.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1545, allocations: 0 / 0.567 GB, free: 8.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.1549, allocations: 39.89 kB / 0.567 GB, free: 8.648 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007222/0.1556, allocations: 0.8343 MB / 0.5678 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.1561, allocations: 305.5 kB / 0.5681 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1561, allocations: 0 / 0.5681 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.1565, allocations: 261.8 kB / 0.5684 GB, free: 7.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.157, allocations: 28.67 kB / 0.5684 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.1595, allocations: 1.972 MB / 0.5703 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.16, allocations: 0.7045 MB / 0.571 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.535e-05/0.16, allocations: 8.875 kB / 0.571 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1601, allocations: 31.42 kB / 0.5711 GB, free: 4.254 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1601, allocations: 0 / 0.5711 GB, free: 4.254 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.1961, allocations: 3.046 MB / 0.574 GB, free: 1.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.37, allocations: 0 / 0.574 GB, free: 1.328 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J1.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.694915475090966]