Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001707/0.001707, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2255/0.2255, allocations: 46.88 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 75.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2853, allocations: 65.98 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003635/0.289, allocations: 2.436 MB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2906, allocations: 0.9835 MB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.2907, allocations: 7.938 kB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.2911, allocations: 119.2 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.2914, allocations: 95.38 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.292, allocations: 291.5 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.2928, allocations: 0.7132 MB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2929, allocations: 55.72 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.2933, allocations: 306.9 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.2937, allocations: 334.9 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.2938, allocations: 60 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.2939, allocations: 60 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.2941, allocations: 199.4 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.2943, allocations: 238.7 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.2949, allocations: 0.5564 MB / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2949, allocations: 0 / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2949, allocations: 0 / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2949, allocations: 4 kB / 0.5675 GB, free: 14.59 MB / 414.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.002442/0.2974, allocations: 0.9543 MB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2974, allocations: 8.031 kB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2975, allocations: 68.61 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.2981, allocations: 383.3 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/0.2985, allocations: 259.7 kB / 0.5691 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/0.2986, allocations: 44.38 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.3008, allocations: 0.8126 MB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3008, allocations: 0 / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.3008, allocations: 19.94 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3008, allocations: 12 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/0.3046, allocations: 1.197 MB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.3077, allocations: 2.02 MB / 0.5731 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.311, allocations: 0.7815 MB / 0.5738 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.3126, allocations: 454.4 kB / 0.5743 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.898e-05/0.3127, allocations: 15.98 kB / 0.5743 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3127, allocations: 50.42 kB / 0.5743 GB, free: 7.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 1.913e-06/0.3127, allocations: 3.938 kB / 0.5743 GB, free: 7.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09281/0.4055, allocations: 15.77 MB / 0.5898 GB, free: 7.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.4056, allocations: 90.23 kB / 0.5898 GB, free: 7.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.4061, allocations: 393.4 kB / 0.5902 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.4063, allocations: 45.7 kB / 0.5903 GB, free: 6.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4065, allocations: 225.5 kB / 0.5905 GB, free: 6.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/0.4069, allocations: 416.4 kB / 0.5909 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005728/0.4075, allocations: 198.9 kB / 0.5911 GB, free: 5.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4077, allocations: 378.7 kB / 0.5914 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.4116, allocations: 1.342 MB / 0.5927 GB, free: 4.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/0.4157, allocations: 1.497 MB / 0.5942 GB, free: 2.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007336/0.4231, allocations: 2.445 MB / 0.5966 GB, free: 172 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4231, allocations: 8 kB / 0.5966 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008458/0.4315, allocations: 2.83 MB / 0.5994 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4316, allocations: 8.25 kB / 0.5994 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4316, allocations: 4 kB / 0.5994 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.4316, allocations: 8 kB / 0.5994 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4346, allocations: 407.4 kB / 0.5998 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/0.4346, allocations: 11.94 kB / 0.5998 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.4367, allocations: 215.7 kB / 0.6 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4369, allocations: 43.98 kB / 0.6 GB, free: 12.64 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.0005283/0.4374, allocations: 230.9 kB / 0.6002 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.4377, allocations: 59.62 kB / 0.6003 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4379, allocations: 108.7 kB / 0.6004 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.4379, allocations: 12 kB / 0.6004 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.438, allocations: 7.938 kB / 0.6004 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.438, allocations: 7.969 kB / 0.6004 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.4508, allocations: 5.228 MB / 0.6055 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/0.4508, allocations: 23.98 kB / 0.6056 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.4525, allocations: 355.7 kB / 0.6059 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.512e-05/0.4525, allocations: 28 kB / 0.6059 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.4526, allocations: 51.94 kB / 0.606 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.806e-05/0.4527, allocations: 47.78 kB / 0.606 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-05/0.4527, allocations: 31.86 kB / 0.606 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008116/0.4608, allocations: 3.102 MB / 0.6091 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.4613, allocations: 236.6 kB / 0.6093 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.4615, allocations: 51.98 kB / 0.6093 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.4629, allocations: 187.8 kB / 0.6095 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004653/0.4633, allocations: 227.2 kB / 0.6097 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4635, allocations: 56 kB / 0.6098 GB, free: 1.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.4638, allocations: 263.1 kB / 0.61 GB, free: 1.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4638, allocations: 0 / 0.61 GB, free: 1.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001089/0.4649, allocations: 231.9 kB / 0.6103 GB, free: 1.461 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.0002696/0.4651, allocations: 178.7 kB / 0.6104 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006818/0.472, allocations: 2.156 MB / 0.6125 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.472, allocations: 4 kB / 0.6126 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003677/0.4757, allocations: 1.047 MB / 0.6136 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.4771, allocations: 153.7 kB / 0.6137 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.4816, allocations: 1.975 MB / 0.6156 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.4823, allocations: 0.9282 MB / 0.6166 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001058/0.4833, allocations: 206.1 kB / 0.6168 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/0.484, allocations: 63.44 kB / 0.6168 GB, free: 10.42 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.484, allocations: 0 / 0.6168 GB, free: 10.42 MB / 462.1 MB Notification: Performance of Templates: time 0.02973/0.5137, allocations: 17.46 MB / 0.6339 GB, free: 8.965 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.500896750018001]