Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001392/0.001392, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002153/0.002153, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.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.273/0.273, allocations: 44.92 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002163/0.002163, allocations: 71.89 kB / 0.4936 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4634, allocations: 65.46 MB / 0.5575 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005259/0.4686, allocations: 2.436 MB / 0.5599 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.4714, allocations: 0.9796 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.4718, allocations: 15.81 kB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.4723, allocations: 123.2 kB / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.4727, allocations: 95.33 kB / 0.5611 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.4738, allocations: 291.5 kB / 0.5613 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.475, allocations: 0.7249 MB / 0.562 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.4753, allocations: 52.91 kB / 0.5621 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.4759, allocations: 307 kB / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.4765, allocations: 342.6 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.4766, allocations: 60 kB / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.4767, allocations: 60 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.477, allocations: 203.4 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.4773, allocations: 234.8 kB / 0.5632 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000932/0.4783, allocations: 0.5551 MB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4783, allocations: 0 / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.71e-06/0.4783, allocations: 3.984 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.87e-05/0.4783, allocations: 4 kB / 0.5638 GB, free: 1.234 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.003569/0.4819, allocations: 0.8675 MB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4819, allocations: 12.03 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.4822, allocations: 68.61 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.4832, allocations: 317.1 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008156/0.484, allocations: 0.6669 MB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.4841, allocations: 44.31 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.4873, allocations: 0.8087 MB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.4873, allocations: 7.984 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.4874, allocations: 19.94 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.4874, allocations: 8 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005215/0.4926, allocations: 1.204 MB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004863/0.4975, allocations: 1.995 MB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/0.5017, allocations: 0.7808 MB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.5039, allocations: 461.2 kB / 0.5709 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.504, allocations: 11.98 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.504, allocations: 46.48 kB / 0.5709 GB, free: 9.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 4.408e-06/0.504, allocations: 0 / 0.5709 GB, free: 9.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09585/0.5999, allocations: 15.47 MB / 0.586 GB, free: 10.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6, allocations: 90.11 kB / 0.5861 GB, free: 9.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/0.6007, allocations: 389.5 kB / 0.5865 GB, free: 9.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.601, allocations: 53.69 kB / 0.5865 GB, free: 9.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.6012, allocations: 221.5 kB / 0.5867 GB, free: 9.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006508/0.6019, allocations: 416.5 kB / 0.5871 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007347/0.6026, allocations: 198.9 kB / 0.5873 GB, free: 8.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002984/0.6029, allocations: 374.8 kB / 0.5877 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.6067, allocations: 1.345 MB / 0.589 GB, free: 6.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/0.6105, allocations: 1.493 MB / 0.5905 GB, free: 5.375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006958/0.6175, allocations: 2.439 MB / 0.5928 GB, free: 2.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.6175, allocations: 0 / 0.5928 GB, free: 2.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008636/0.6261, allocations: 2.828 MB / 0.5956 GB, free: 56 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.6262, allocations: 12.25 kB / 0.5956 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.6262, allocations: 7.984 kB / 0.5956 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.6262, allocations: 11.94 kB / 0.5956 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.6292, allocations: 407.4 kB / 0.596 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.031e-05/0.6292, allocations: 11.94 kB / 0.596 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.6314, allocations: 219.7 kB / 0.5962 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.6316, allocations: 39.98 kB / 0.5963 GB, free: 15.36 MB / 446.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.0006121/0.6323, allocations: 233.4 kB / 0.5965 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.6325, allocations: 63.62 kB / 0.5966 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.6329, allocations: 108.7 kB / 0.5967 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6329, allocations: 12 kB / 0.5967 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.6329, allocations: 7.938 kB / 0.5967 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.6329, allocations: 15.95 kB / 0.5967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.6467, allocations: 5.2 MB / 0.6018 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001119/0.6468, allocations: 24 kB / 0.6018 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.6486, allocations: 355.6 kB / 0.6021 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/0.6487, allocations: 27.98 kB / 0.6022 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.6488, allocations: 52 kB / 0.6022 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-05/0.6489, allocations: 39.86 kB / 0.6023 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.249e-05/0.6489, allocations: 31.88 kB / 0.6023 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008642/0.6576, allocations: 3.099 MB / 0.6053 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.6582, allocations: 167.5 kB / 0.6055 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.6585, allocations: 47.98 kB / 0.6055 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.66, allocations: 195.8 kB / 0.6057 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/0.6605, allocations: 219.1 kB / 0.6059 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.6607, allocations: 59.98 kB / 0.606 GB, free: 4.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004432/0.6611, allocations: 259.2 kB / 0.6062 GB, free: 4.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6611, allocations: 0 / 0.6062 GB, free: 4.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001422/0.6625, allocations: 232 kB / 0.6064 GB, free: 4.309 MB / 446.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.0003842/0.6629, allocations: 170.7 kB / 0.6066 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006703/0.6696, allocations: 2.152 MB / 0.6087 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.6696, allocations: 4 kB / 0.6087 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003629/0.6733, allocations: 1.051 MB / 0.6097 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.6749, allocations: 148.8 kB / 0.6099 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.68, allocations: 1.971 MB / 0.6118 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/0.6809, allocations: 0.9204 MB / 0.6127 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.6821, allocations: 206.1 kB / 0.6129 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.6828, allocations: 71.42 kB / 0.613 GB, free: 13.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6828, allocations: 0 / 0.613 GB, free: 13.28 MB / 462.1 MB Notification: Performance of Templates: time 0.03616/0.7189, allocations: 17.78 MB / 0.6303 GB, free: 11.52 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.457682240987197]