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.001413/0.001413, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001587/0.001587, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.483/1.483, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.227/0.227, allocations: 46.93 MB / 357.7 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 75.88 kB / 0.4916 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1226, allocations: 66.05 MB / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002974/0.1255, allocations: 1.669 MB / 0.5578 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.1258, allocations: 119.6 kB / 0.5579 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.1259, allocations: 7.938 kB / 0.5579 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.548e-05/0.126, allocations: 11.86 kB / 0.5579 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1261, allocations: 35.7 kB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.1262, allocations: 27.97 kB / 0.558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1264, allocations: 127.4 kB / 0.5581 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1265, allocations: 29.09 kB / 0.5581 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.1266, allocations: 51.8 kB / 0.5582 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.1267, allocations: 51.78 kB / 0.5582 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1267, allocations: 8 kB / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.1268, allocations: 12 kB / 0.5582 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.1268, allocations: 23.91 kB / 0.5583 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.1268, allocations: 55.75 kB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.127, allocations: 119.5 kB / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.127, allocations: 4 kB / 0.5584 GB, free: 3.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.127, allocations: 0 / 0.5584 GB, free: 3.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.127, allocations: 0 / 0.5584 GB, free: 3.199 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.0005617/0.1276, allocations: 415.2 kB / 0.5588 GB, free: 2.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1276, allocations: 8.031 kB / 0.5588 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.155e-05/0.1277, allocations: 4.422 kB / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1277, allocations: 42.75 kB / 0.5589 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1277, allocations: 16.83 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1279, allocations: 196.2 kB / 0.5591 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.128, allocations: 8.609 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.128, allocations: 12.38 kB / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1282, allocations: 145.2 kB / 0.5592 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1283, allocations: 7.953 kB / 0.5592 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1283, allocations: 4 kB / 0.5592 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1283, allocations: 4 kB / 0.5592 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1284, allocations: 55.97 kB / 0.5593 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.1292, allocations: 0.5412 MB / 0.5598 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1293, allocations: 81.11 kB / 0.5599 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.1294, allocations: 29.8 kB / 0.5599 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1294, allocations: 0 / 0.5599 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1294, allocations: 38.56 kB / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1294, allocations: 0 / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006307/0.1301, allocations: 297.5 kB / 0.5603 GB, free: 1.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.1301, allocations: 81.09 kB / 0.5603 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1302, allocations: 129.7 kB / 0.5605 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1302, allocations: 25.7 kB / 0.5605 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.1303, allocations: 123.8 kB / 0.5606 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1304, allocations: 35.73 kB / 0.5606 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1304, allocations: 29.7 kB / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1305, allocations: 318.8 kB / 0.561 GB, free: 292 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.1306, allocations: 27.98 kB / 0.561 GB, free: 264 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.1307, allocations: 82.27 kB / 0.5611 GB, free: 152 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1308, allocations: 124.8 kB / 0.5612 GB, free: 16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1309, allocations: 4 kB / 0.5612 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002951/0.1311, allocations: 163.3 kB / 0.5613 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1312, allocations: 19.95 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1312, allocations: 4 kB / 0.5614 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.1314, allocations: 33.7 kB / 0.5614 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.1315, allocations: 23.94 kB / 0.5614 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.1336, allocations: 2.734 MB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.1337, allocations: 11.89 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1337, allocations: 8 kB / 0.5641 GB, free: 12.7 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.0001192/0.1339, allocations: 122 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.1339, allocations: 11.94 kB / 0.5642 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.1339, allocations: 19.91 kB / 0.5643 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1339, allocations: 0 / 0.5643 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1339, allocations: 7.938 kB / 0.5643 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1339, allocations: 0 / 0.5643 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.1342, allocations: 205.5 kB / 0.5645 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1342, allocations: 3.938 kB / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.1343, allocations: 15.98 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.1344, allocations: 45.64 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1345, allocations: 4 kB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.1366, allocations: 2.726 MB / 0.5672 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1366, allocations: 0 / 0.5672 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.1369, allocations: 312.4 kB / 0.5675 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.137, allocations: 81.2 kB / 0.5676 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.137, allocations: 3.984 kB / 0.5676 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.1371, allocations: 4 kB / 0.5676 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.1371, allocations: 7.984 kB / 0.5676 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1371, allocations: 4 kB / 0.5676 GB, free: 8.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.489e-05/0.1372, allocations: 91.27 kB / 0.5677 GB, free: 8.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1372, allocations: 0 / 0.5677 GB, free: 8.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1376, allocations: 43.83 kB / 0.5677 GB, free: 8.617 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.0007126/0.1383, allocations: 0.8305 MB / 0.5685 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.1388, allocations: 313.4 kB / 0.5688 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1388, allocations: 0 / 0.5688 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.1391, allocations: 257.3 kB / 0.5691 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1396, allocations: 23.27 kB / 0.5691 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.142, allocations: 1.976 MB / 0.571 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1423, allocations: 0.7122 MB / 0.5717 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.1424, allocations: 8.875 kB / 0.5717 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1424, allocations: 27.42 kB / 0.5718 GB, free: 4.223 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1424, allocations: 0 / 0.5718 GB, free: 4.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.1787, allocations: 3.076 MB / 0.5748 GB, free: 1.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.58, allocations: 6.938 kB / 0.5748 GB, free: 1.27 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.649630612984765]