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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001666, allocations: 82.33 kB / 21.25 MB, free: 0.5469 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.001961/0.001961, allocations: 161.5 kB / 24.5 MB, free: 3.715 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.48/1.48, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 34.27 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 179] 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=5013,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=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 80.2 kB / 443.1 MB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3471, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002662/0.3497, allocations: 2.263 MB / 0.4995 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3511, allocations: 0.9374 MB / 0.5004 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3512, allocations: 14.72 kB / 0.5004 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.3515, allocations: 118.1 kB / 0.5005 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.3517, allocations: 95.73 kB / 0.5006 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.3522, allocations: 298.4 kB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.3528, allocations: 0.7179 MB / 0.5016 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.353, allocations: 47.72 kB / 0.5016 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.3533, allocations: 292.5 kB / 0.5019 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.3538, allocations: 325.2 kB / 0.5022 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3539, allocations: 63.34 kB / 0.5023 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.354, allocations: 61.62 kB / 0.5023 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3542, allocations: 207.2 kB / 0.5025 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3545, allocations: 206.5 kB / 0.5027 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.355, allocations: 0.5707 MB / 0.5033 GB, free: 26.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.355, allocations: 0 / 0.5033 GB, free: 26.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.355, allocations: 0 / 0.5033 GB, free: 26.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.355, allocations: 0 / 0.5033 GB, free: 26.26 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.00317/0.3581, allocations: 0.8806 MB / 0.5042 GB, free: 25.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3582, allocations: 12.55 kB / 0.5042 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3583, allocations: 68.7 kB / 0.5042 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.359, allocations: 321.5 kB / 0.5045 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000501/0.3596, allocations: 0.6714 MB / 0.5052 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.3597, allocations: 43.47 kB / 0.5052 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.3624, allocations: 0.8165 MB / 0.506 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.3625, allocations: 3 kB / 0.506 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.3626, allocations: 15.03 kB / 0.5061 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3626, allocations: 16.12 kB / 0.5061 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004937/0.3675, allocations: 1.205 MB / 0.5072 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.3709, allocations: 1.839 MB / 0.509 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.3748, allocations: 0.7592 MB / 0.5098 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.3771, allocations: 462.9 kB / 0.5102 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.3772, allocations: 14.3 kB / 0.5102 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3773, allocations: 51.23 kB / 0.5103 GB, free: 22.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 4.579e-06/0.3773, allocations: 0 / 0.5103 GB, free: 22.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.1093/0.4866, allocations: 15.54 MB / 0.5255 GB, free: 18.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4866, allocations: 95.17 kB / 0.5256 GB, free: 18.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.4872, allocations: 419.9 kB / 0.526 GB, free: 18.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.4874, allocations: 46.17 kB / 0.526 GB, free: 18.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4875, allocations: 224.8 kB / 0.5262 GB, free: 17.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.4878, allocations: 424.4 kB / 0.5266 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.4883, allocations: 206.3 kB / 0.5268 GB, free: 17.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4884, allocations: 377.1 kB / 0.5272 GB, free: 16.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/0.4922, allocations: 1.35 MB / 0.5285 GB, free: 16.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.4961, allocations: 1.508 MB / 0.53 GB, free: 15.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007132/0.5033, allocations: 2.46 MB / 0.5324 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.5033, allocations: 0 / 0.5324 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.008312/0.5116, allocations: 2.852 MB / 0.5352 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.5116, allocations: 6.75 kB / 0.5352 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.5116, allocations: 3.469 kB / 0.5352 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/0.5117, allocations: 8.062 kB / 0.5352 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.5147, allocations: 414 kB / 0.5356 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.5147, allocations: 8.812 kB / 0.5356 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.517, allocations: 223 kB / 0.5358 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.5171, allocations: 39.55 kB / 0.5358 GB, free: 12.18 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.0004725/0.5176, allocations: 235.4 kB / 0.536 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.5179, allocations: 69.33 kB / 0.5361 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.5181, allocations: 108.5 kB / 0.5362 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5181, allocations: 11.84 kB / 0.5362 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/0.5181, allocations: 1 kB / 0.5362 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.5182, allocations: 13 kB / 0.5362 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.5295, allocations: 4.791 MB / 0.5409 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.5295, allocations: 20 kB / 0.5409 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.531, allocations: 359.6 kB / 0.5413 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/0.531, allocations: 28 kB / 0.5413 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5311, allocations: 48 kB / 0.5414 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-05/0.5311, allocations: 43.84 kB / 0.5414 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.5311, allocations: 35.86 kB / 0.5414 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.5382, allocations: 3.143 MB / 0.5445 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/0.5386, allocations: 163.5 kB / 0.5447 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5387, allocations: 51.98 kB / 0.5447 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.5401, allocations: 195.8 kB / 0.5449 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/0.5405, allocations: 227.1 kB / 0.5451 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/0.5406, allocations: 60 kB / 0.5452 GB, free: 3.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.5408, allocations: 275.1 kB / 0.5454 GB, free: 3.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5408, allocations: 3.938 kB / 0.5454 GB, free: 3.066 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001099/0.5419, allocations: 236 kB / 0.5457 GB, free: 2.836 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.0001786/0.5421, allocations: 171.6 kB / 0.5458 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006205/0.5483, allocations: 2.183 MB / 0.548 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.5483, allocations: 0 / 0.548 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003695/0.552, allocations: 1.064 MB / 0.549 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.5534, allocations: 153.4 kB / 0.5491 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.5579, allocations: 1.979 MB / 0.5511 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.5584, allocations: 329.8 kB / 0.5514 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001083/0.5594, allocations: 202 kB / 0.5516 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/0.56, allocations: 72.48 kB / 0.5516 GB, free: 12.35 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.56, allocations: 0 / 0.5516 GB, free: 12.35 MB / 462.1 MB Notification: Performance of Templates: time 0.03117/0.5912, allocations: 18.09 MB / 0.5693 GB, free: 10.37 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.009555936092511]