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.001317/0.001317, allocations: 110 kB / 19.69 MB, free: 2.203 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.001534/0.001534, allocations: 222.3 kB / 23.01 MB, free: 5.043 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.364/1.364, allocations: 207.6 MB / 233.8 MB, free: 9.91 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.2143/0.2143, allocations: 44.25 MB / 330.3 MB, free: 9.484 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",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.00225/0.00225, allocations: 68.38 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1103, allocations: 61.04 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004231/0.1145, allocations: 2.875 MB / 0.5189 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1158, allocations: 0.7604 MB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.116, allocations: 15.88 kB / 0.5197 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1161, allocations: 55.39 kB / 0.5198 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1164, allocations: 126.9 kB / 0.5199 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1167, allocations: 103.8 kB / 0.52 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.1172, allocations: 438.4 kB / 0.5204 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.1175, allocations: 139 kB / 0.5205 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1177, allocations: 191.3 kB / 0.5207 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.118, allocations: 191.2 kB / 0.5209 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.118, allocations: 36 kB / 0.5209 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.915e-05/0.1181, allocations: 32 kB / 0.521 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.1182, allocations: 79.7 kB / 0.521 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1184, allocations: 210.9 kB / 0.5212 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.1189, allocations: 438.2 kB / 0.5217 GB, free: 1.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1189, allocations: 3.938 kB / 0.5217 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1189, allocations: 0 / 0.5217 GB, free: 1.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1189, allocations: 7.922 kB / 0.5217 GB, free: 1.637 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.001035/0.1199, allocations: 0.6028 MB / 0.5223 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.12, allocations: 12.03 kB / 0.5223 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.032e-05/0.1201, allocations: 78.7 kB / 0.5223 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.1201, allocations: 44.66 kB / 0.5224 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.1205, allocations: 226.9 kB / 0.5226 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1206, allocations: 29.38 kB / 0.5226 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.1206, allocations: 44.33 kB / 0.5227 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.1213, allocations: 385.1 kB / 0.523 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1213, allocations: 4 kB / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.1214, allocations: 16 kB / 0.5231 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1214, allocations: 8 kB / 0.5231 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.1219, allocations: 251.8 kB / 0.5233 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1236, allocations: 1.051 MB / 0.5243 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.1241, allocations: 316.1 kB / 0.5246 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.1244, allocations: 178.6 kB / 0.5248 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.1245, allocations: 4 kB / 0.5248 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1245, allocations: 42.5 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.1245, allocations: 0 / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003926/0.1284, allocations: 2.003 MB / 0.5268 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.1285, allocations: 106.8 kB / 0.5269 GB, free: 11.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1288, allocations: 241.9 kB / 0.5271 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.1288, allocations: 29.7 kB / 0.5272 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.129, allocations: 184.9 kB / 0.5273 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.1291, allocations: 206.2 kB / 0.5275 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.1292, allocations: 86.34 kB / 0.5276 GB, free: 11.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1294, allocations: 350.7 kB / 0.528 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1297, allocations: 137.2 kB / 0.5281 GB, free: 10.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.13, allocations: 228.7 kB / 0.5283 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.1307, allocations: 406 kB / 0.5287 GB, free: 9.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1307, allocations: 4 kB / 0.5287 GB, free: 9.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001041/0.1317, allocations: 0.5539 MB / 0.5292 GB, free: 9.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1317, allocations: 8.094 kB / 0.5292 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1318, allocations: 8 kB / 0.5292 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.1321, allocations: 118.5 kB / 0.5294 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.1325, allocations: 99.81 kB / 0.5295 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/0.1372, allocations: 4.903 MB / 0.5342 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1374, allocations: 28.05 kB / 0.5343 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.1374, allocations: 20 kB / 0.5343 GB, free: 3.859 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.0002134/0.1376, allocations: 173.6 kB / 0.5345 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1377, allocations: 39.75 kB / 0.5345 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1378, allocations: 42.12 kB / 0.5345 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1378, allocations: 4 kB / 0.5345 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.1379, allocations: 15.92 kB / 0.5346 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1379, allocations: 0 / 0.5346 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.14, allocations: 1.288 MB / 0.5358 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.14, allocations: 0 / 0.5358 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.1404, allocations: 99.88 kB / 0.5359 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.1407, allocations: 98.55 kB / 0.536 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1407, allocations: 12.19 kB / 0.536 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1843/0.325, allocations: 4.108 MB / 0.54 GB, free: 24.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.325, allocations: 0.9375 kB / 0.54 GB, free: 24.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3262, allocations: 0.9316 MB / 0.5409 GB, free: 24.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.3263, allocations: 36.45 kB / 0.541 GB, free: 24.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.3263, allocations: 16.48 kB / 0.541 GB, free: 24.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.3266, allocations: 15.81 kB / 0.541 GB, free: 24.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3267, allocations: 51.59 kB / 0.541 GB, free: 24.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3267, allocations: 14.8 kB / 0.5411 GB, free: 24.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3269, allocations: 174.1 kB / 0.5412 GB, free: 24.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3269, allocations: 0 / 0.5412 GB, free: 24.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006821/0.3276, allocations: 124.4 kB / 0.5413 GB, free: 24.56 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.001289/0.3288, allocations: 1.467 MB / 0.5428 GB, free: 23.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3299, allocations: 0.7579 MB / 0.5435 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3299, allocations: 4.281 kB / 0.5435 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.3305, allocations: 0.5585 MB / 0.5441 GB, free: 23.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.3312, allocations: 68.14 kB / 0.5441 GB, free: 23.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.3357, allocations: 4.153 MB / 0.5482 GB, free: 20.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.336, allocations: 0.818 MB / 0.549 GB, free: 19.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3361, allocations: 39.06 kB / 0.549 GB, free: 19.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3363, allocations: 123.6 kB / 0.5491 GB, free: 19.87 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3363, allocations: 0 / 0.5491 GB, free: 19.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.3804, allocations: 8.734 MB / 0.5577 GB, free: 18.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.75, allocations: 5.328 kB / 0.5577 GB, free: 18.78 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.561816514004022]