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.00161/0.00161, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001533/0.001533, allocations: 212.6 kB / 24.49 MB, free: 3.938 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.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.2387/0.2387, allocations: 46.95 MB / 361.6 MB, free: 4.027 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+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.002075/0.002075, allocations: 67.88 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2827, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004069/0.2867, allocations: 2.245 MB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.2884, allocations: 0.9524 MB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2885, allocations: 7.938 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.2889, allocations: 115.2 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.2891, allocations: 107.3 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.2897, allocations: 287.6 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007862/0.2905, allocations: 0.7288 MB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2907, allocations: 51.91 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.291, allocations: 287.1 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.2914, allocations: 350.8 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2915, allocations: 64 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.2916, allocations: 63.94 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.2918, allocations: 203.4 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.292, allocations: 215 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005743/0.2926, allocations: 0.5678 MB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2926, allocations: 8 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2926, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2926, allocations: 0 / 0.5679 GB, free: 13.93 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.002422/0.295, allocations: 0.8753 MB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2951, allocations: 8.031 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2952, allocations: 68.59 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.2958, allocations: 321 kB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006043/0.2964, allocations: 0.6747 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2965, allocations: 44.38 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.2987, allocations: 0.8204 MB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2987, allocations: 3.938 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.2988, allocations: 20 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2988, allocations: 8 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.3024, allocations: 1.208 MB / 0.5718 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.3053, allocations: 1.833 MB / 0.5736 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.3081, allocations: 0.7522 MB / 0.5744 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.3096, allocations: 466.4 kB / 0.5748 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.3097, allocations: 8.562 kB / 0.5748 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3097, allocations: 43.67 kB / 0.5749 GB, free: 6.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.094e-06/0.3097, allocations: 3.938 kB / 0.5749 GB, free: 6.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.09355/0.4033, allocations: 15.55 MB / 0.59 GB, free: 6.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4033, allocations: 90.11 kB / 0.5901 GB, free: 6.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.4039, allocations: 421.4 kB / 0.5905 GB, free: 6.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.404, allocations: 45.7 kB / 0.5906 GB, free: 6.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.4042, allocations: 221.6 kB / 0.5908 GB, free: 6.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.4046, allocations: 428.2 kB / 0.5912 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.4052, allocations: 198.9 kB / 0.5914 GB, free: 5.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4054, allocations: 378.7 kB / 0.5917 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003722/0.4092, allocations: 1.349 MB / 0.5931 GB, free: 3.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/0.413, allocations: 1.509 MB / 0.5945 GB, free: 2.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/0.4197, allocations: 2.459 MB / 0.5969 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4197, allocations: 0 / 0.5969 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.007792/0.4275, allocations: 2.855 MB / 0.5997 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4276, allocations: 8 kB / 0.5997 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4276, allocations: 4.25 kB / 0.5997 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.4276, allocations: 12 kB / 0.5997 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/0.4305, allocations: 411.3 kB / 0.6001 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.4305, allocations: 12 kB / 0.6002 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.4326, allocations: 219.7 kB / 0.6004 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.4327, allocations: 47.92 kB / 0.6004 GB, free: 12.03 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.0005077/0.4333, allocations: 233.9 kB / 0.6006 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.4335, allocations: 63.58 kB / 0.6007 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.4338, allocations: 108.7 kB / 0.6008 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4338, allocations: 7.969 kB / 0.6008 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4338, allocations: 4 kB / 0.6008 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.4344, allocations: 243.4 kB / 0.601 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.4347, allocations: 31.88 kB / 0.6011 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/0.4368, allocations: 207.7 kB / 0.6013 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000609/0.4374, allocations: 192.7 kB / 0.6014 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009859/0.4472, allocations: 2.952 MB / 0.6043 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01192/0.4592, allocations: 4.534 MB / 0.6088 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003502/0.4627, allocations: 1.288 MB / 0.61 GB, free: 2.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.463, allocations: 279.1 kB / 0.6103 GB, free: 1.883 MB / 446.1 MB Notification: Performance of Backend: time 1.8e-07/0.463, allocations: 0 / 0.6103 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004739/0.4678, allocations: 1.636 MB / 0.6119 GB, free: 244 kB / 446.1 MB Notification: Performance of SimCode: time 0.002064/0.4698, allocations: 1.409 MB / 0.6133 GB, free: 14.78 MB / 462.1 MB Notification: Performance of Templates: time 0.04265/0.5125, allocations: 31.79 MB / 0.6443 GB, free: 15.17 MB / 494.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 -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.57771030299773]