Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 75.86 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2968, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003172/0.3, allocations: 2.422 MB / 0.534 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3015, allocations: 0.9782 MB / 0.535 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3017, allocations: 9.438 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.3021, allocations: 114.9 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3023, allocations: 89.27 kB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.3029, allocations: 300.7 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.3036, allocations: 0.7171 MB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3038, allocations: 76.22 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.3041, allocations: 301 kB / 0.5365 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.3045, allocations: 329.2 kB / 0.5368 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3046, allocations: 64.09 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3047, allocations: 60.59 kB / 0.537 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.305, allocations: 188.4 kB / 0.5371 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.3052, allocations: 235.5 kB / 0.5374 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.3058, allocations: 0.5597 MB / 0.5379 GB, free: 8.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3058, allocations: 0 / 0.5379 GB, free: 8.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3058, allocations: 1.062 kB / 0.5379 GB, free: 8.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3058, allocations: 0 / 0.5379 GB, free: 8.809 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.002294/0.3081, allocations: 0.9495 MB / 0.5388 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3082, allocations: 8.812 kB / 0.5388 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3083, allocations: 70.45 kB / 0.5389 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.3089, allocations: 382.3 kB / 0.5393 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.3092, allocations: 266.2 kB / 0.5395 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.3093, allocations: 39.34 kB / 0.5396 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.3112, allocations: 0.8138 MB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3113, allocations: 5.094 kB / 0.5404 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.3114, allocations: 15.44 kB / 0.5404 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3114, allocations: 10.41 kB / 0.5404 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.3148, allocations: 1.202 MB / 0.5416 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.3175, allocations: 2.019 MB / 0.5435 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.3204, allocations: 0.8303 MB / 0.5443 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.3219, allocations: 495.1 kB / 0.5448 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/0.322, allocations: 15.98 kB / 0.5448 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3221, allocations: 42.5 kB / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 2.294e-06/0.3221, allocations: 0 / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.08804/0.4101, allocations: 15.77 MB / 0.5603 GB, free: 3.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.4102, allocations: 90.23 kB / 0.5604 GB, free: 3.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.4108, allocations: 401.4 kB / 0.5607 GB, free: 3.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.411, allocations: 45.7 kB / 0.5608 GB, free: 3.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.4112, allocations: 221.5 kB / 0.561 GB, free: 3.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.4116, allocations: 420.4 kB / 0.5614 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006215/0.4122, allocations: 202.8 kB / 0.5616 GB, free: 2.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4124, allocations: 374.8 kB / 0.562 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/0.4161, allocations: 1.342 MB / 0.5633 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/0.4198, allocations: 1.493 MB / 0.5647 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/0.4265, allocations: 2.445 MB / 0.5671 GB, free: 12.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.4265, allocations: 11.94 kB / 0.5671 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007611/0.4341, allocations: 2.834 MB / 0.5699 GB, free: 9.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4341, allocations: 4 kB / 0.5699 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4341, allocations: 4 kB / 0.5699 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.4342, allocations: 8 kB / 0.5699 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.437, allocations: 411.6 kB / 0.5703 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.437, allocations: 11.94 kB / 0.5703 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.439, allocations: 219.6 kB / 0.5705 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4392, allocations: 43.98 kB / 0.5706 GB, free: 9.266 MB / 430.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.0004827/0.4397, allocations: 230.9 kB / 0.5708 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.4399, allocations: 59.62 kB / 0.5708 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.4402, allocations: 112.7 kB / 0.5709 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4402, allocations: 7.969 kB / 0.571 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4402, allocations: 0 / 0.571 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/0.4407, allocations: 320.4 kB / 0.5713 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.441, allocations: 23.98 kB / 0.5713 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.443, allocations: 211.7 kB / 0.5715 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006259/0.4436, allocations: 180.9 kB / 0.5717 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009114/0.4527, allocations: 2.936 MB / 0.5745 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01104/0.4638, allocations: 4.499 MB / 0.5789 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003499/0.4673, allocations: 1.434 MB / 0.5803 GB, free: 15.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.4676, allocations: 263.1 kB / 0.5806 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Backend: time 6.21e-07/0.4676, allocations: 4 kB / 0.5806 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004712/0.4724, allocations: 1.84 MB / 0.5824 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 0.002053/0.4744, allocations: 1.407 MB / 0.5837 GB, free: 11.66 MB / 446.1 MB Notification: Performance of Templates: time 0.03852/0.513, allocations: 27.42 MB / 0.6105 GB, free: 260 kB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches