Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 89.92 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002556/0.002556, allocations: 214 kB / 23.78 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.7 MB / 234.6 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.27 MB / 331.1 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.89 kB / 468.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1341, allocations: 61.05 MB / 0.5169 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003294/0.1374, allocations: 1.603 MB / 0.5185 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.1377, allocations: 107.6 kB / 0.5186 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.1377, allocations: 0 / 0.5186 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.139e-05/0.1378, allocations: 27.73 kB / 0.5186 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1379, allocations: 31.7 kB / 0.5186 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.1381, allocations: 27.95 kB / 0.5187 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1382, allocations: 127.4 kB / 0.5188 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1384, allocations: 29.58 kB / 0.5188 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.1385, allocations: 51.84 kB / 0.5189 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.1385, allocations: 51.77 kB / 0.5189 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1386, allocations: 11.94 kB / 0.5189 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.1386, allocations: 8 kB / 0.5189 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.1386, allocations: 19.94 kB / 0.5189 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.1387, allocations: 51.8 kB / 0.519 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1389, allocations: 131.4 kB / 0.5191 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1389, allocations: 0 / 0.5191 GB, free: 4.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1389, allocations: 4 kB / 0.5191 GB, free: 4.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1389, allocations: 0 / 0.5191 GB, free: 4.895 MB / 398.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.0005108/0.1394, allocations: 326.2 kB / 0.5194 GB, free: 4.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1395, allocations: 8.031 kB / 0.5194 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.1395, allocations: 4.422 kB / 0.5194 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.1395, allocations: 50.73 kB / 0.5195 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1396, allocations: 16.84 kB / 0.5195 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1397, allocations: 134.4 kB / 0.5196 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1398, allocations: 8.609 kB / 0.5196 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1398, allocations: 16.33 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.14, allocations: 133.3 kB / 0.5198 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.14, allocations: 7.938 kB / 0.5198 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1401, allocations: 4 kB / 0.5198 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1401, allocations: 4 kB / 0.5198 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1402, allocations: 67.94 kB / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.141, allocations: 471.6 kB / 0.5203 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1411, allocations: 85.02 kB / 0.5204 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.1411, allocations: 29.89 kB / 0.5204 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1412, allocations: 0 / 0.5204 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1412, allocations: 38.5 kB / 0.5205 GB, free: 3.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1412, allocations: 4 kB / 0.5205 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005486/0.1417, allocations: 143.2 kB / 0.5206 GB, free: 3.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.1418, allocations: 81.11 kB / 0.5207 GB, free: 3.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1419, allocations: 129.7 kB / 0.5208 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1419, allocations: 25.7 kB / 0.5208 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.142, allocations: 119.7 kB / 0.5209 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1421, allocations: 35.72 kB / 0.521 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1421, allocations: 29.72 kB / 0.521 GB, free: 2.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1423, allocations: 330.8 kB / 0.5213 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.1423, allocations: 27.92 kB / 0.5213 GB, free: 2.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.1424, allocations: 92.45 kB / 0.5214 GB, free: 2.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1426, allocations: 120.5 kB / 0.5216 GB, free: 2.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1426, allocations: 4 kB / 0.5216 GB, free: 2.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003046/0.1429, allocations: 167 kB / 0.5217 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1429, allocations: 7.938 kB / 0.5217 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1429, allocations: 4 kB / 0.5217 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.1431, allocations: 34.17 kB / 0.5218 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.1432, allocations: 31.92 kB / 0.5218 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.1455, allocations: 2.523 MB / 0.5243 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.1455, allocations: 11.89 kB / 0.5243 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1455, allocations: 8.312 kB / 0.5243 GB, free: 15.09 MB / 414.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.000121/0.1457, allocations: 121.8 kB / 0.5244 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1457, allocations: 11.89 kB / 0.5244 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.1458, allocations: 16 kB / 0.5244 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1458, allocations: 0 / 0.5244 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1458, allocations: 4 kB / 0.5244 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1458, allocations: 3.984 kB / 0.5244 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.146, allocations: 156.7 kB / 0.5246 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.146, allocations: 4 kB / 0.5246 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.1461, allocations: 19.92 kB / 0.5246 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.1462, allocations: 37.64 kB / 0.5246 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1462, allocations: 0 / 0.5246 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.1483, allocations: 2.523 MB / 0.5271 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1483, allocations: 3.938 kB / 0.5271 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.1487, allocations: 308.4 kB / 0.5274 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.1487, allocations: 11.88 kB / 0.5274 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1487, allocations: 8.031 kB / 0.5274 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.1488, allocations: 4 kB / 0.5274 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.1488, allocations: 7.984 kB / 0.5274 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1488, allocations: 0 / 0.5274 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.1489, allocations: 99.27 kB / 0.5275 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1489, allocations: 0 / 0.5275 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1493, allocations: 43.98 kB / 0.5276 GB, free: 11.4 MB / 414.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.0006953/0.1499, allocations: 0.8188 MB / 0.5284 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.1504, allocations: 305.3 kB / 0.5287 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1504, allocations: 0.5 kB / 0.5287 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1508, allocations: 257.6 kB / 0.5289 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.1513, allocations: 36.09 kB / 0.5289 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1535, allocations: 1.981 MB / 0.5309 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1536, allocations: 89.62 kB / 0.531 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.1537, allocations: 8.969 kB / 0.531 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1537, allocations: 35.42 kB / 0.531 GB, free: 7.625 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1537, allocations: 0 / 0.531 GB, free: 7.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.1834, allocations: 3.303 MB / 0.5342 GB, free: 4.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.25, allocations: 19.8 kB / 0.5342 GB, free: 4.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.653957294067368]