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.001361/0.001361, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001675/0.001675, allocations: 222.8 kB / 25.13 MB, free: 3.609 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.364/1.364, allocations: 230.4 MB / 258.7 MB, free: 8.074 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.2372/0.2372, allocations: 46.93 MB / 362 MB, free: 4.277 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.002327/0.002327, allocations: 83.8 kB / 0.4978 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2667, allocations: 66.08 MB / 0.5623 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003573/0.2703, allocations: 2.42 MB / 0.5647 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2719, allocations: 0.9874 MB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.272, allocations: 11.88 kB / 0.5657 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.2724, allocations: 119.2 kB / 0.5658 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.2726, allocations: 99.31 kB / 0.5659 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.2732, allocations: 306.8 kB / 0.5662 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007665/0.2739, allocations: 0.7249 MB / 0.5669 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2741, allocations: 52.91 kB / 0.5669 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.2744, allocations: 307 kB / 0.5672 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.2748, allocations: 338.7 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.2749, allocations: 60 kB / 0.5676 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.443e-05/0.275, allocations: 60 kB / 0.5676 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.2752, allocations: 199.4 kB / 0.5678 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.2754, allocations: 238.7 kB / 0.5681 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.276, allocations: 0.5592 MB / 0.5686 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.276, allocations: 4 kB / 0.5686 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.276, allocations: 4 kB / 0.5686 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.276, allocations: 0 / 0.5686 GB, free: 13.84 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.002071/0.2781, allocations: 0.8714 MB / 0.5695 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2781, allocations: 8.031 kB / 0.5695 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.2782, allocations: 64.61 kB / 0.5695 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.2788, allocations: 321.1 kB / 0.5698 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/0.2794, allocations: 0.663 MB / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.2795, allocations: 44.38 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2813, allocations: 0.8125 MB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.2813, allocations: 7.938 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.2814, allocations: 19.98 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2814, allocations: 11.94 kB / 0.5714 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/0.2847, allocations: 1.196 MB / 0.5725 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.2875, allocations: 1.991 MB / 0.5745 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.2902, allocations: 0.7816 MB / 0.5752 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.2916, allocations: 449.9 kB / 0.5757 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.2917, allocations: 8 kB / 0.5757 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2917, allocations: 54.47 kB / 0.5757 GB, free: 6.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.194e-06/0.2917, allocations: 0 / 0.5757 GB, free: 6.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.08044/0.3722, allocations: 15.47 MB / 0.5908 GB, free: 6.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.3722, allocations: 90.11 kB / 0.5909 GB, free: 6.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.3727, allocations: 389.5 kB / 0.5913 GB, free: 6.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3728, allocations: 49.69 kB / 0.5913 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.373, allocations: 225.5 kB / 0.5916 GB, free: 5.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.3734, allocations: 412.4 kB / 0.592 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/0.3739, allocations: 206.9 kB / 0.5922 GB, free: 5.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3741, allocations: 366.8 kB / 0.5925 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.3776, allocations: 1.345 MB / 0.5938 GB, free: 3.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/0.3811, allocations: 1.493 MB / 0.5953 GB, free: 1.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006355/0.3875, allocations: 2.447 MB / 0.5977 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3875, allocations: 0 / 0.5977 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007336/0.3948, allocations: 2.828 MB / 0.6004 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3948, allocations: 8 kB / 0.6004 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3948, allocations: 7.984 kB / 0.6004 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3949, allocations: 8 kB / 0.6004 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.3974, allocations: 407.5 kB / 0.6008 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/0.3974, allocations: 19.88 kB / 0.6009 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.3992, allocations: 215.7 kB / 0.6011 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.3993, allocations: 43.98 kB / 0.6011 GB, free: 11.96 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.0004528/0.3998, allocations: 227.7 kB / 0.6013 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.4, allocations: 67.56 kB / 0.6014 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.4002, allocations: 104.7 kB / 0.6015 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4002, allocations: 16 kB / 0.6015 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4003, allocations: 3.938 kB / 0.6015 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4003, allocations: 11.97 kB / 0.6015 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.4114, allocations: 5.181 MB / 0.6066 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.4114, allocations: 20 kB / 0.6066 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.4128, allocations: 355.9 kB / 0.6069 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/0.4128, allocations: 28 kB / 0.607 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.4129, allocations: 51.92 kB / 0.607 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-05/0.4129, allocations: 39.86 kB / 0.607 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.941e-05/0.4129, allocations: 39.75 kB / 0.6071 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/0.4198, allocations: 3.102 MB / 0.6101 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.4202, allocations: 167.5 kB / 0.6103 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.4203, allocations: 51.92 kB / 0.6103 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.4215, allocations: 195.8 kB / 0.6105 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.4219, allocations: 219.2 kB / 0.6107 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.422, allocations: 59.98 kB / 0.6108 GB, free: 1.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.4223, allocations: 259.2 kB / 0.611 GB, free: 1.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4223, allocations: 4 kB / 0.611 GB, free: 1.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000935/0.4232, allocations: 228 kB / 0.6112 GB, free: 0.9258 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.0002055/0.4234, allocations: 170.7 kB / 0.6114 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005787/0.4292, allocations: 2.148 MB / 0.6135 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.4292, allocations: 7.938 kB / 0.6135 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.4323, allocations: 1.047 MB / 0.6145 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4335, allocations: 146.3 kB / 0.6147 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.4372, allocations: 1.975 MB / 0.6166 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.4377, allocations: 0.9282 MB / 0.6175 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009031/0.4386, allocations: 210.1 kB / 0.6177 GB, free: 9.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.4392, allocations: 71.42 kB / 0.6178 GB, free: 9.891 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4392, allocations: 0 / 0.6178 GB, free: 9.891 MB / 462.1 MB Notification: Performance of Templates: time 0.0265/0.4657, allocations: 17.77 MB / 0.6351 GB, free: 8.129 MB / 478.1 MB " [Timeout remaining time 660] 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/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-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.34584070998244]