Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001429/0.001429, allocations: 111.1 kB / 19.69 MB, free: 2.207 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.001581/0.001581, allocations: 221.6 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.454/1.454, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.2389/0.2389, allocations: 44.24 MB / 330.3 MB, free: 9.527 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.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",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.002327/0.002327, allocations: 74.56 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1119, allocations: 61.03 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004975/0.1169, allocations: 2.867 MB / 0.5189 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1186, allocations: 0.7487 MB / 0.5197 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.1188, allocations: 15.88 kB / 0.5197 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1191, allocations: 51.39 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1194, allocations: 134.9 kB / 0.5199 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1198, allocations: 91.81 kB / 0.5199 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006129/0.1204, allocations: 430 kB / 0.5204 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.1207, allocations: 110.2 kB / 0.5205 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.121, allocations: 171.4 kB / 0.5206 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.1213, allocations: 179.2 kB / 0.5208 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.369e-05/0.1214, allocations: 36 kB / 0.5208 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.1215, allocations: 32 kB / 0.5209 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.1216, allocations: 79.69 kB / 0.5209 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1218, allocations: 195.1 kB / 0.5211 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.1224, allocations: 438.1 kB / 0.5215 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1224, allocations: 0 / 0.5215 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1224, allocations: 0 / 0.5215 GB, free: 1.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1224, allocations: 0 / 0.5215 GB, free: 1.781 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001082/0.1235, allocations: 0.5794 MB / 0.5221 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1235, allocations: 8.031 kB / 0.5221 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.1237, allocations: 74.72 kB / 0.5222 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.1238, allocations: 44.7 kB / 0.5222 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.1242, allocations: 214.8 kB / 0.5224 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1242, allocations: 29.38 kB / 0.5225 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.1243, allocations: 40.33 kB / 0.5225 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.1249, allocations: 394.3 kB / 0.5229 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.125, allocations: 11.95 kB / 0.5229 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.125, allocations: 15.94 kB / 0.5229 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.125, allocations: 15.94 kB / 0.5229 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.1254, allocations: 215.8 kB / 0.5231 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.128, allocations: 1.683 MB / 0.5248 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.1284, allocations: 250.4 kB / 0.525 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1286, allocations: 90.02 kB / 0.5251 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1286, allocations: 4 kB / 0.5251 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.1287, allocations: 46.5 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.1287, allocations: 0 / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007065/0.1294, allocations: 265.2 kB / 0.5254 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.1295, allocations: 218 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.1298, allocations: 272.1 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1299, allocations: 33.64 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.13, allocations: 248.1 kB / 0.5261 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1302, allocations: 123 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1303, allocations: 98.3 kB / 0.5263 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1305, allocations: 350.7 kB / 0.5267 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1307, allocations: 105.2 kB / 0.5268 GB, free: 12.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.1312, allocations: 428.8 kB / 0.5272 GB, free: 11.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/0.132, allocations: 0.5745 MB / 0.5277 GB, free: 10.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.132, allocations: 4 kB / 0.5277 GB, free: 10.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009196/0.1329, allocations: 0.5208 MB / 0.5283 GB, free: 10.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1329, allocations: 12 kB / 0.5283 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.1329, allocations: 12 kB / 0.5283 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.133, allocations: 16 kB / 0.5283 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.1334, allocations: 147.7 kB / 0.5284 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/0.1334, allocations: 23.88 kB / 0.5285 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.1338, allocations: 71.97 kB / 0.5285 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.1338, allocations: 28 kB / 0.5286 GB, free: 9.887 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.134, allocations: 181.5 kB / 0.5287 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.1342, allocations: 31.81 kB / 0.5288 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.1342, allocations: 33.78 kB / 0.5288 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1342, allocations: 4 kB / 0.5288 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1343, allocations: 4 kB / 0.5288 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1343, allocations: 3.984 kB / 0.5288 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1356, allocations: 0.6232 MB / 0.5294 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1356, allocations: 0 / 0.5294 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.136, allocations: 83.95 kB / 0.5295 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1361, allocations: 4.625 kB / 0.5295 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1361, allocations: 11.98 kB / 0.5295 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.1361, allocations: 11.88 kB / 0.5295 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1361, allocations: 4 kB / 0.5295 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.1369, allocations: 0.8416 MB / 0.5303 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.137, allocations: 35.69 kB / 0.5304 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.1371, allocations: 11.94 kB / 0.5304 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.1374, allocations: 11.98 kB / 0.5304 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.1375, allocations: 19.97 kB / 0.5304 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1375, allocations: 12 kB / 0.5304 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.1377, allocations: 191 kB / 0.5306 GB, free: 7.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 0 / 0.5306 GB, free: 7.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.1384, allocations: 95.89 kB / 0.5307 GB, free: 7.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/0.1396, allocations: 1.386 MB / 0.5321 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.1402, allocations: 286.1 kB / 0.5323 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1402, allocations: 0 / 0.5323 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1404, allocations: 83.83 kB / 0.5324 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.1414, allocations: 71.03 kB / 0.5325 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.1478, allocations: 4.937 MB / 0.5373 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1973/0.3451, allocations: 0.7968 MB / 0.5381 GB, free: 27.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.3453, allocations: 40.78 kB / 0.5381 GB, free: 27.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3455, allocations: 116.6 kB / 0.5382 GB, free: 27.45 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3455, allocations: 0 / 0.5382 GB, free: 27.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/0.3869, allocations: 7.071 MB / 0.5451 GB, free: 26.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.03, allocations: 3.984 kB / 0.5451 GB, free: 26.67 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.033299336908385]