Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.002118/0.002118, allocations: 107.5 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.002251/0.002251, allocations: 227.6 kB / 23.01 MB, free: 5.035 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.496/1.496, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2375/0.2375, allocations: 44.24 MB / 330.3 MB, free: 9.504 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.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP",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.002379/0.002379, allocations: 74.55 kB / 467.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1247, allocations: 61.04 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00388/0.1286, allocations: 2.434 MB / 0.5185 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1305, allocations: 0.999 MB / 0.5195 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.1307, allocations: 15.81 kB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.1312, allocations: 119.2 kB / 0.5196 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.1315, allocations: 107.3 kB / 0.5197 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.1323, allocations: 291.5 kB / 0.52 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.1332, allocations: 0.729 MB / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1334, allocations: 45.25 kB / 0.5208 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004931/0.1339, allocations: 307 kB / 0.521 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.1344, allocations: 342.7 kB / 0.5214 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.1346, allocations: 64 kB / 0.5214 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1347, allocations: 60 kB / 0.5215 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1349, allocations: 199.4 kB / 0.5217 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.1351, allocations: 246.7 kB / 0.5219 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.1358, allocations: 0.5525 MB / 0.5225 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1358, allocations: 0 / 0.5225 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1358, allocations: 0 / 0.5225 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1358, allocations: 3.938 kB / 0.5225 GB, free: 0.8164 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002523/0.1383, allocations: 0.8793 MB / 0.5233 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1384, allocations: 11.97 kB / 0.5233 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1385, allocations: 90.7 kB / 0.5234 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1386, allocations: 60.66 kB / 0.5235 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.1393, allocations: 313 kB / 0.5238 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006221/0.1399, allocations: 0.6747 MB / 0.5244 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/0.14, allocations: 44.31 kB / 0.5245 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.142, allocations: 0.8085 MB / 0.5253 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1421, allocations: 4 kB / 0.5253 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.1421, allocations: 16 kB / 0.5253 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1421, allocations: 8 kB / 0.5253 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.1456, allocations: 1.208 MB / 0.5265 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.1489, allocations: 2.018 MB / 0.5284 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.1518, allocations: 0.7699 MB / 0.5292 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.1533, allocations: 453.3 kB / 0.5296 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.1534, allocations: 8 kB / 0.5296 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.1534, allocations: 46.44 kB / 0.5297 GB, free: 9.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.915e-06/0.1534, allocations: 0 / 0.5297 GB, free: 9.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.2851/0.4385, allocations: 15.46 MB / 0.5448 GB, free: 28.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.4386, allocations: 95.05 kB / 0.5449 GB, free: 27.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.4391, allocations: 383.5 kB / 0.5452 GB, free: 27.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.4393, allocations: 46.02 kB / 0.5453 GB, free: 27.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4394, allocations: 234 kB / 0.5455 GB, free: 27.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.4399, allocations: 416.5 kB / 0.5459 GB, free: 27.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005722/0.4404, allocations: 204 kB / 0.5461 GB, free: 27.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4406, allocations: 373.8 kB / 0.5464 GB, free: 26.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/0.4442, allocations: 1.34 MB / 0.5478 GB, free: 26.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003648/0.4479, allocations: 1.497 MB / 0.5492 GB, free: 25.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006773/0.4546, allocations: 2.441 MB / 0.5516 GB, free: 24.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4547, allocations: 1 kB / 0.5516 GB, free: 24.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007362/0.462, allocations: 2.83 MB / 0.5544 GB, free: 23.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.462, allocations: 5.938 kB / 0.5544 GB, free: 23.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.4621, allocations: 3.625 kB / 0.5544 GB, free: 23.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.4621, allocations: 8.406 kB / 0.5544 GB, free: 23.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.4648, allocations: 408.1 kB / 0.5548 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/0.4648, allocations: 15.88 kB / 0.5548 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.4669, allocations: 219.2 kB / 0.555 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.467, allocations: 43.25 kB / 0.555 GB, free: 23.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.000467/0.4675, allocations: 231.7 kB / 0.5553 GB, free: 23.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.4677, allocations: 70.91 kB / 0.5553 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.468, allocations: 111.8 kB / 0.5554 GB, free: 23.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.468, allocations: 12.84 kB / 0.5554 GB, free: 23.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/0.468, allocations: 2.484 kB / 0.5554 GB, free: 23.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.468, allocations: 6.797 kB / 0.5554 GB, free: 23.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.4798, allocations: 5.197 MB / 0.5605 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.4798, allocations: 19.66 kB / 0.5605 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.4814, allocations: 359.1 kB / 0.5609 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-05/0.4814, allocations: 27.09 kB / 0.5609 GB, free: 20.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.4815, allocations: 44.06 kB / 0.561 GB, free: 20.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.015e-05/0.4815, allocations: 47.42 kB / 0.561 GB, free: 20.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.733e-05/0.4816, allocations: 31.91 kB / 0.561 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/0.4882, allocations: 3.096 MB / 0.5641 GB, free: 18.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.4887, allocations: 169 kB / 0.5642 GB, free: 18.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.4889, allocations: 51.16 kB / 0.5643 GB, free: 18.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.4901, allocations: 192.5 kB / 0.5644 GB, free: 18.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/0.4905, allocations: 214.9 kB / 0.5647 GB, free: 18.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/0.4905, allocations: 60.16 kB / 0.5647 GB, free: 18.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002731/0.4908, allocations: 266.6 kB / 0.565 GB, free: 18.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4908, allocations: 0 / 0.565 GB, free: 18.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001056/0.4919, allocations: 233.5 kB / 0.5652 GB, free: 18.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.006605/0.4985, allocations: 3.687 MB / 0.5688 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005773/0.5043, allocations: 2.161 MB / 0.5709 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.839e-05/0.5043, allocations: 3.531 kB / 0.5709 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003403/0.5077, allocations: 1.052 MB / 0.5719 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.5091, allocations: 147.4 kB / 0.5721 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/0.5307, allocations: 12.38 MB / 0.5842 GB, free: 3.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5311, allocations: 0.9248 MB / 0.5851 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009115/0.532, allocations: 211.6 kB / 0.5853 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.5326, allocations: 219.4 kB / 0.5855 GB, free: 1.949 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5326, allocations: 3.938 kB / 0.5855 GB, free: 1.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0607/0.5933, allocations: 22.99 MB / 0.6079 GB, free: 10.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.87, allocations: 11.59 kB / 0.6079 GB, free: 10.93 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP_fmu --startTime=0 --stopTime=3 --stepSize=0.000598444 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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.911965974140912]