Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001742/0.001742, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002263/0.002263, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.543/1.543, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 34.28 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 71.86 kB / 443.1 MB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 66 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004653/0.3756, allocations: 2.259 MB / 0.4994 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.378, allocations: 0.9453 MB / 0.5003 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3782, allocations: 7.031 kB / 0.5003 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.3787, allocations: 124.9 kB / 0.5005 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.379, allocations: 98.94 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.3799, allocations: 286.7 kB / 0.5008 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000905/0.3808, allocations: 0.7273 MB / 0.5015 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.381, allocations: 47.98 kB / 0.5016 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.3815, allocations: 285.6 kB / 0.5019 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.3821, allocations: 326.9 kB / 0.5022 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3822, allocations: 63.06 kB / 0.5022 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3823, allocations: 63.25 kB / 0.5023 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.3826, allocations: 204.8 kB / 0.5025 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.3828, allocations: 205.6 kB / 0.5027 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.3834, allocations: 0.5737 MB / 0.5032 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3834, allocations: 3.219 kB / 0.5033 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3834, allocations: 0 / 0.5033 GB, free: 26.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3834, allocations: 0 / 0.5033 GB, free: 26.36 MB / 446.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.003567/0.387, allocations: 0.886 MB / 0.5041 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.387, allocations: 9.656 kB / 0.5041 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.3873, allocations: 65.55 kB / 0.5042 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008397/0.3881, allocations: 317.7 kB / 0.5045 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005388/0.3886, allocations: 0.6726 MB / 0.5051 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.3888, allocations: 44.09 kB / 0.5052 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.3921, allocations: 0.8143 MB / 0.506 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.3922, allocations: 7.062 kB / 0.506 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/0.3922, allocations: 19.33 kB / 0.506 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3923, allocations: 12.56 kB / 0.506 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.3982, allocations: 1.208 MB / 0.5072 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.4021, allocations: 1.845 MB / 0.509 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004468/0.4065, allocations: 0.7474 MB / 0.5097 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/0.4093, allocations: 465.9 kB / 0.5102 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.4094, allocations: 7.578 kB / 0.5102 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4095, allocations: 47.14 kB / 0.5102 GB, free: 22.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 4.399e-06/0.4095, allocations: 3.219 kB / 0.5102 GB, free: 22.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.119/0.5284, allocations: 15.54 MB / 0.5254 GB, free: 18.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5285, allocations: 93.97 kB / 0.5255 GB, free: 18.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.529, allocations: 416.1 kB / 0.5259 GB, free: 18.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.5291, allocations: 47.2 kB / 0.5259 GB, free: 18.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5292, allocations: 224.8 kB / 0.5262 GB, free: 17.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.5295, allocations: 427 kB / 0.5266 GB, free: 17.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.53, allocations: 198.5 kB / 0.5268 GB, free: 17.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.5301, allocations: 378.7 kB / 0.5271 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.5338, allocations: 1.356 MB / 0.5284 GB, free: 16.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/0.5375, allocations: 1.504 MB / 0.5299 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006634/0.5442, allocations: 2.464 MB / 0.5323 GB, free: 14.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5442, allocations: 3 kB / 0.5323 GB, free: 14.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008497/0.5527, allocations: 2.85 MB / 0.5351 GB, free: 12.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.5527, allocations: 6.438 kB / 0.5351 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5527, allocations: 2.5 kB / 0.5351 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.5528, allocations: 9.281 kB / 0.5351 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.5556, allocations: 409.7 kB / 0.5355 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.693e-05/0.5556, allocations: 17.05 kB / 0.5355 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.5578, allocations: 226.4 kB / 0.5357 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.558, allocations: 40.8 kB / 0.5358 GB, free: 12.33 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: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,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 (150): * Single equations (assignments): 150 * 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.0004775/0.5585, allocations: 235.5 kB / 0.536 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.5588, allocations: 69.28 kB / 0.5361 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.559, allocations: 112.8 kB / 0.5362 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.559, allocations: 11.09 kB / 0.5362 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.559, allocations: 1.719 kB / 0.5362 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.559, allocations: 7.922 kB / 0.5362 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5706, allocations: 4.791 MB / 0.5409 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/0.5706, allocations: 20 kB / 0.5409 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.5721, allocations: 359.6 kB / 0.5412 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/0.5721, allocations: 28 kB / 0.5413 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.5722, allocations: 52 kB / 0.5413 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/0.5722, allocations: 39.86 kB / 0.5413 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.5723, allocations: 31.81 kB / 0.5414 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00709/0.5793, allocations: 3.143 MB / 0.5444 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005561/0.5799, allocations: 163.5 kB / 0.5446 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.5801, allocations: 51.97 kB / 0.5447 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.5815, allocations: 191.8 kB / 0.5448 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/0.582, allocations: 227.2 kB / 0.5451 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.5821, allocations: 56 kB / 0.5451 GB, free: 3.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.5823, allocations: 283.1 kB / 0.5454 GB, free: 3.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5823, allocations: 0 / 0.5454 GB, free: 3.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001129/0.5835, allocations: 232 kB / 0.5456 GB, free: 3.074 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: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,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 (122): * Single equations (assignments): 122 * 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.0002175/0.5837, allocations: 170.7 kB / 0.5458 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006185/0.5899, allocations: 2.194 MB / 0.5479 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.172e-05/0.5899, allocations: 4 kB / 0.5479 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00352/0.5934, allocations: 1.059 MB / 0.5489 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.595, allocations: 160.6 kB / 0.5491 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.5995, allocations: 1.979 MB / 0.551 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.6, allocations: 329.8 kB / 0.5513 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001146/0.6011, allocations: 201.9 kB / 0.5515 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/0.6017, allocations: 68.48 kB / 0.5516 GB, free: 12.59 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6017, allocations: 0 / 0.5516 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Templates: time 0.03057/0.6323, allocations: 18.09 MB / 0.5693 GB, free: 10.63 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.942738806013949]