Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001371/0.001371, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001596/0.001596, allocations: 215.5 kB / 23.78 MB, free: 4.523 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.51/1.51, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2283/0.2283, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 180] 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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",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.002375/0.002375, allocations: 71.89 kB / 468.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1289, allocations: 61.05 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004353/0.1333, allocations: 2.637 MB / 0.5195 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1347, allocations: 0.7215 MB / 0.5202 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1349, allocations: 11.94 kB / 0.5202 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1352, allocations: 63.31 kB / 0.5203 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.1354, allocations: 134.9 kB / 0.5204 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1358, allocations: 91.83 kB / 0.5205 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1363, allocations: 446.4 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.1366, allocations: 143 kB / 0.521 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1368, allocations: 175.4 kB / 0.5212 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1371, allocations: 191.1 kB / 0.5214 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.1372, allocations: 43.94 kB / 0.5214 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.1372, allocations: 36 kB / 0.5215 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.1373, allocations: 79.75 kB / 0.5215 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.1375, allocations: 167.2 kB / 0.5217 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.138, allocations: 454.1 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.138, allocations: 0 / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.138, allocations: 0 / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.138, allocations: 0 / 0.5221 GB, free: 1.809 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001174/0.1392, allocations: 0.5989 MB / 0.5227 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1393, allocations: 15.97 kB / 0.5227 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.44e-05/0.1393, allocations: 13.12 kB / 0.5228 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.603e-05/0.1394, allocations: 78.72 kB / 0.5228 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.1395, allocations: 48.66 kB / 0.5229 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.1399, allocations: 226.9 kB / 0.5231 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1399, allocations: 29.38 kB / 0.5231 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.14, allocations: 44.31 kB / 0.5232 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.1407, allocations: 384.9 kB / 0.5235 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.1407, allocations: 11.98 kB / 0.5235 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.1408, allocations: 16 kB / 0.5236 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1408, allocations: 8 kB / 0.5236 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.1413, allocations: 239.8 kB / 0.5238 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1431, allocations: 0.9767 MB / 0.5247 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.1437, allocations: 331.9 kB / 0.5251 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.144, allocations: 162.7 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1441, allocations: 4 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.1441, allocations: 42.5 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.274e-06/0.1441, allocations: 4 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004071/0.1482, allocations: 1.996 MB / 0.5272 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.1483, allocations: 110.8 kB / 0.5273 GB, free: 12.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.1485, allocations: 245.8 kB / 0.5276 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.1486, allocations: 37.7 kB / 0.5276 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1487, allocations: 184.9 kB / 0.5278 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.1489, allocations: 202.2 kB / 0.528 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.149, allocations: 90.34 kB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1493, allocations: 346.8 kB / 0.5284 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1495, allocations: 129.2 kB / 0.5285 GB, free: 10.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.1499, allocations: 228.8 kB / 0.5287 GB, free: 10.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.1506, allocations: 405.9 kB / 0.5291 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1506, allocations: 0 / 0.5291 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001087/0.1517, allocations: 0.5619 MB / 0.5297 GB, free: 9.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1517, allocations: 8.094 kB / 0.5297 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1517, allocations: 4 kB / 0.5297 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/0.1521, allocations: 118.5 kB / 0.5298 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.1525, allocations: 103.8 kB / 0.5299 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.1575, allocations: 4.884 MB / 0.5346 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1578, allocations: 16 kB / 0.5347 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.1578, allocations: 19.98 kB / 0.5347 GB, free: 4.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.158, allocations: 177.8 kB / 0.5349 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1582, allocations: 39.77 kB / 0.5349 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1583, allocations: 50.11 kB / 0.5349 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1583, allocations: 7.938 kB / 0.5349 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.1583, allocations: 4 kB / 0.5349 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1583, allocations: 3.984 kB / 0.535 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.1605, allocations: 1.222 MB / 0.5361 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.1605, allocations: 4 kB / 0.5361 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.1609, allocations: 99.81 kB / 0.5362 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/0.1613, allocations: 102.5 kB / 0.5363 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1613, allocations: 12 kB / 0.5364 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2082/0.3695, allocations: 4.091 MB / 0.5403 GB, free: 25.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.3695, allocations: 2.562 kB / 0.5404 GB, free: 25.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3709, allocations: 0.9246 MB / 0.5413 GB, free: 25.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.371, allocations: 35.09 kB / 0.5413 GB, free: 25.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.371, allocations: 11.11 kB / 0.5413 GB, free: 25.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.3713, allocations: 16.66 kB / 0.5413 GB, free: 25.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.3714, allocations: 49.83 kB / 0.5414 GB, free: 25.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.3715, allocations: 16.58 kB / 0.5414 GB, free: 25.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3716, allocations: 173.2 kB / 0.5415 GB, free: 24.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3716, allocations: 0 / 0.5415 GB, free: 24.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.3724, allocations: 123 kB / 0.5417 GB, free: 24.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.001539/0.3739, allocations: 1.477 MB / 0.5431 GB, free: 24.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3753, allocations: 0.7608 MB / 0.5438 GB, free: 23.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3753, allocations: 1.156 kB / 0.5438 GB, free: 23.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.3761, allocations: 0.5682 MB / 0.5444 GB, free: 23.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.3769, allocations: 63.91 kB / 0.5445 GB, free: 23.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/0.3822, allocations: 4.14 MB / 0.5485 GB, free: 21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3825, allocations: 218.7 kB / 0.5487 GB, free: 20.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.3826, allocations: 34.69 kB / 0.5487 GB, free: 20.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.3828, allocations: 128 kB / 0.5489 GB, free: 20.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3828, allocations: 0 / 0.5489 GB, free: 20.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.4307, allocations: 8.9 MB / 0.5576 GB, free: 19.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.34, allocations: 15.92 kB / 0.5576 GB, free: 19.47 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 16.6200641739415]