Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001844/0.001844, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002142/0.002142, allocations: 205.6 kB / 24.47 MB, free: 4.023 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.522/1.522, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2599/0.2599, allocations: 46.9 MB / 361.1 MB, free: 4.59 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 75.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3891, allocations: 65.99 MB / 0.5612 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004588/0.3937, allocations: 2.659 MB / 0.5638 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3953, allocations: 0.7401 MB / 0.5645 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3954, allocations: 4 kB / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.3956, allocations: 43.52 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.3958, allocations: 83.2 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.3962, allocations: 107.8 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.3968, allocations: 334.5 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.397, allocations: 64.73 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.3972, allocations: 139.5 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3974, allocations: 131.3 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.3975, allocations: 24 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.3976, allocations: 32 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.3976, allocations: 55.72 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.3977, allocations: 147.3 kB / 0.5656 GB, free: 420 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.3981, allocations: 310.6 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3981, allocations: 0 / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3981, allocations: 0 / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3981, allocations: 0 / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001094/0.3992, allocations: 0.6066 MB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3993, allocations: 8.031 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.3995, allocations: 52.67 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.4001, allocations: 283.8 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4001, allocations: 20.94 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.4002, allocations: 28.33 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.4007, allocations: 282.2 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.4008, allocations: 7.953 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.4008, allocations: 12 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4008, allocations: 4 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.4013, allocations: 183.8 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.4033, allocations: 1.302 MB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.4037, allocations: 238.3 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.4039, allocations: 95.53 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.404, allocations: 16.11 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.404, allocations: 38.56 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.404, allocations: 0 / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002925/0.4069, allocations: 1.594 MB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.407, allocations: 132.5 kB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.4073, allocations: 229 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.4074, allocations: 29.7 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4075, allocations: 184.5 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4076, allocations: 119 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4077, allocations: 62.14 kB / 0.5713 GB, free: 10.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.408, allocations: 346.8 kB / 0.5716 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.4082, allocations: 96.81 kB / 0.5717 GB, free: 9.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.4086, allocations: 245.4 kB / 0.5719 GB, free: 9.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.4093, allocations: 364.8 kB / 0.5723 GB, free: 8.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4093, allocations: 0 / 0.5723 GB, free: 8.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008354/0.4101, allocations: 405.4 kB / 0.5727 GB, free: 8.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4102, allocations: 8 kB / 0.5727 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4102, allocations: 4 kB / 0.5727 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.4102, allocations: 4 kB / 0.5727 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.4106, allocations: 99.88 kB / 0.5728 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.4106, allocations: 11.94 kB / 0.5728 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.4108, allocations: 27.97 kB / 0.5728 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.4109, allocations: 20.22 kB / 0.5728 GB, free: 8.348 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001629/0.411, allocations: 153.7 kB / 0.573 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4112, allocations: 35.75 kB / 0.573 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.4112, allocations: 33.98 kB / 0.5731 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4112, allocations: 4 kB / 0.5731 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4112, allocations: 0 / 0.5731 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4112, allocations: 3.938 kB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.4129, allocations: 0.9818 MB / 0.574 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4129, allocations: 0 / 0.574 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.4133, allocations: 79.95 kB / 0.5741 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4133, allocations: 0 / 0.5741 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4133, allocations: 15.92 kB / 0.5741 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.4133, allocations: 11.88 kB / 0.5741 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4133, allocations: 0 / 0.5741 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4144, allocations: 0.7406 MB / 0.5749 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/0.4145, allocations: 108.9 kB / 0.575 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.4146, allocations: 12 kB / 0.575 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.4149, allocations: 15.98 kB / 0.575 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.4149, allocations: 27.95 kB / 0.575 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.415, allocations: 12 kB / 0.575 GB, free: 6.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4151, allocations: 156.5 kB / 0.5752 GB, free: 5.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4151, allocations: 0 / 0.5752 GB, free: 5.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.4156, allocations: 68 kB / 0.5752 GB, free: 5.781 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001348/0.4158, allocations: 107.2 kB / 0.5753 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006702/0.4164, allocations: 264.5 kB / 0.5756 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4164, allocations: 4 kB / 0.5756 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.4167, allocations: 124.3 kB / 0.5757 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.4174, allocations: 43.61 kB / 0.5758 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.419, allocations: 0.8947 MB / 0.5766 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.4195, allocations: 0.7681 MB / 0.5774 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.4197, allocations: 38.94 kB / 0.5774 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.4198, allocations: 27.44 kB / 0.5774 GB, free: 3.445 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4198, allocations: 0 / 0.5774 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Templates: time 0.006646/0.4264, allocations: 2.554 MB / 0.5799 GB, free: 0.9023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.335821472108364]