Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 68.77 kB / 491.8 MB, free: 30.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1182, allocations: 64.26 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003051/0.1213, allocations: 1.667 MB / 0.5446 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003008/0.1216, allocations: 107.6 kB / 0.5447 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.1216, allocations: 0 / 0.5447 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.1217, allocations: 15.86 kB / 0.5447 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1218, allocations: 47.62 kB / 0.5448 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.1219, allocations: 23.98 kB / 0.5448 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1221, allocations: 123.5 kB / 0.5449 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1222, allocations: 33.03 kB / 0.5449 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.1223, allocations: 43.86 kB / 0.545 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.1224, allocations: 47.78 kB / 0.545 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1224, allocations: 15.94 kB / 0.545 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.1225, allocations: 8 kB / 0.5451 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.1225, allocations: 27.91 kB / 0.5451 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.1225, allocations: 55.73 kB / 0.5451 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1227, allocations: 127.7 kB / 0.5453 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1227, allocations: 4 kB / 0.5453 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1227, allocations: 0 / 0.5453 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1228, allocations: 0 / 0.5453 GB, free: 1.77 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.0005244/0.1233, allocations: 407.2 kB / 0.5456 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1233, allocations: 12.03 kB / 0.5457 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.1234, allocations: 38.73 kB / 0.5457 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1234, allocations: 16.84 kB / 0.5457 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1236, allocations: 204.2 kB / 0.5459 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1236, allocations: 16.61 kB / 0.5459 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.1237, allocations: 12.38 kB / 0.5459 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1239, allocations: 125.6 kB / 0.5461 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1239, allocations: 7.938 kB / 0.5461 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.124, allocations: 0 / 0.5461 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.124, allocations: 4 kB / 0.5461 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1241, allocations: 63.89 kB / 0.5461 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.1249, allocations: 0.5373 MB / 0.5467 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.125, allocations: 81.08 kB / 0.5467 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.125, allocations: 29.83 kB / 0.5468 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1251, allocations: 8 kB / 0.5468 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.1251, allocations: 34.64 kB / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1251, allocations: 0 / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006398/0.1258, allocations: 301.4 kB / 0.5471 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.1258, allocations: 81.11 kB / 0.5472 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.126, allocations: 121.8 kB / 0.5473 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.126, allocations: 33.64 kB / 0.5473 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.1261, allocations: 119.9 kB / 0.5474 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1261, allocations: 35.64 kB / 0.5475 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.1262, allocations: 29.7 kB / 0.5475 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1263, allocations: 322.8 kB / 0.5478 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.1264, allocations: 23.98 kB / 0.5478 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.1264, allocations: 88.58 kB / 0.5479 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1266, allocations: 128.8 kB / 0.548 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1266, allocations: 0 / 0.548 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002855/0.1269, allocations: 163.2 kB / 0.5482 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1269, allocations: 8 kB / 0.5482 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1269, allocations: 7.938 kB / 0.5482 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.1271, allocations: 41.64 kB / 0.5482 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.1272, allocations: 16 kB / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.1294, allocations: 2.734 MB / 0.5509 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.1295, allocations: 16.11 kB / 0.5509 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1295, allocations: 4 kB / 0.5509 GB, free: 11.28 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.0001356/0.1297, allocations: 133.7 kB / 0.5511 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.1297, allocations: 11.89 kB / 0.5511 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.1297, allocations: 15.89 kB / 0.5511 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1297, allocations: 0 / 0.5511 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1297, allocations: 0 / 0.5511 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1298, allocations: 0 / 0.5511 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.1301, allocations: 205.5 kB / 0.5513 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1301, allocations: 0 / 0.5513 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.1302, allocations: 16 kB / 0.5513 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.1303, allocations: 37.64 kB / 0.5513 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1303, allocations: 0 / 0.5513 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.1324, allocations: 2.73 MB / 0.554 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1324, allocations: 0 / 0.554 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1327, allocations: 312.5 kB / 0.5543 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.1328, allocations: 85 kB / 0.5544 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1328, allocations: 8 kB / 0.5544 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/0.1329, allocations: 4 kB / 0.5544 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1329, allocations: 11.97 kB / 0.5544 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1329, allocations: 0 / 0.5544 GB, free: 7.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.816e-05/0.133, allocations: 103.3 kB / 0.5545 GB, free: 7.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.133, allocations: 0 / 0.5545 GB, free: 7.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.1334, allocations: 35.95 kB / 0.5545 GB, free: 7.203 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.0006916/0.134, allocations: 0.8343 MB / 0.5554 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.1346, allocations: 297.6 kB / 0.5556 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1346, allocations: 3.938 kB / 0.5556 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.1349, allocations: 261.8 kB / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1354, allocations: 31.92 kB / 0.5559 GB, free: 5.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1377, allocations: 1.97 MB / 0.5579 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1381, allocations: 0.7122 MB / 0.5585 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.1382, allocations: 8.875 kB / 0.5586 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.1382, allocations: 31.42 kB / 0.5586 GB, free: 2.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1382, allocations: 0 / 0.5586 GB, free: 2.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1718, allocations: 3.033 MB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.37, allocations: 8.047 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.453396728262305]