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.001452/0.001452, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001576/0.001576, allocations: 217 kB / 24.5 MB, free: 4.133 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.348/1.348, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.211/0.211, allocations: 46.92 MB / 361.5 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] 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.002319/0.002319, allocations: 79.86 kB / 0.4974 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2891, allocations: 66.08 MB / 0.5619 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003866/0.2929, allocations: 2.649 MB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2942, allocations: 0.7401 MB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.2944, allocations: 11.88 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2945, allocations: 39.58 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.2947, allocations: 91.2 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2949, allocations: 99.8 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.2953, allocations: 342.5 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2955, allocations: 62.06 kB / 0.5659 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.2957, allocations: 139.5 kB / 0.566 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2959, allocations: 127.4 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.2959, allocations: 24 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.296, allocations: 32 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.2961, allocations: 51.78 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.2962, allocations: 151.2 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.2966, allocations: 317 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2966, allocations: 0 / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2966, allocations: 0 / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2966, allocations: 0 / 0.5667 GB, free: 15.38 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009035/0.2975, allocations: 0.5245 MB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2975, allocations: 8.031 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.2978, allocations: 52.72 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2981, allocations: 214 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2981, allocations: 16.88 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.2982, allocations: 36.33 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.2987, allocations: 277.4 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.2987, allocations: 7.953 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2987, allocations: 8 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2987, allocations: 8 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.2991, allocations: 191.7 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3008, allocations: 1.242 MB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3012, allocations: 238.4 kB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.3014, allocations: 91.58 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3014, allocations: 11.94 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3014, allocations: 38.56 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.3014, allocations: 3.938 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002296/0.3037, allocations: 1.201 MB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.3038, allocations: 132.5 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.304, allocations: 225.1 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.304, allocations: 37.7 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3042, allocations: 176.5 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3043, allocations: 130.9 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.3044, allocations: 66.14 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3045, allocations: 342.8 kB / 0.5718 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3048, allocations: 100.8 kB / 0.5719 GB, free: 9.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3051, allocations: 238.6 kB / 0.5721 GB, free: 9.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.3057, allocations: 376.8 kB / 0.5725 GB, free: 8.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3057, allocations: 0 / 0.5725 GB, free: 8.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007177/0.3064, allocations: 396.9 kB / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3064, allocations: 10.19 kB / 0.5728 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3064, allocations: 4 kB / 0.5729 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3064, allocations: 8 kB / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.3068, allocations: 103.8 kB / 0.573 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.3068, allocations: 7.984 kB / 0.573 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.307, allocations: 24.27 kB / 0.573 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.307, allocations: 20 kB / 0.573 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.0001401/0.3072, allocations: 155 kB / 0.5732 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.3073, allocations: 31.98 kB / 0.5732 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.3073, allocations: 37.7 kB / 0.5732 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3073, allocations: 7.984 kB / 0.5732 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3073, allocations: 0 / 0.5732 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3074, allocations: 7.984 kB / 0.5732 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.3087, allocations: 0.9422 MB / 0.5742 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3087, allocations: 4.062 kB / 0.5742 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3091, allocations: 83.88 kB / 0.5742 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3091, allocations: 8 kB / 0.5743 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.3091, allocations: 11.94 kB / 0.5743 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.3091, allocations: 3.938 kB / 0.5743 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3091, allocations: 4 kB / 0.5743 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.3101, allocations: 0.7305 MB / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.3101, allocations: 35.8 kB / 0.575 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.3101, allocations: 15.94 kB / 0.575 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.3104, allocations: 15.98 kB / 0.575 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.3105, allocations: 31.89 kB / 0.5751 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3105, allocations: 12 kB / 0.5751 GB, free: 6.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3106, allocations: 156.5 kB / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3106, allocations: 0 / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.3111, allocations: 68 kB / 0.5753 GB, free: 5.902 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.0001137/0.3112, allocations: 107.2 kB / 0.5754 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.3117, allocations: 269 kB / 0.5757 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3118, allocations: 0 / 0.5757 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.312, allocations: 127.8 kB / 0.5758 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.3126, allocations: 47.09 kB / 0.5758 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.314, allocations: 0.9099 MB / 0.5767 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3144, allocations: 0.772 MB / 0.5775 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.3145, allocations: 31.44 kB / 0.5775 GB, free: 3.566 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3145, allocations: 3.938 kB / 0.5775 GB, free: 3.562 MB / 414.1 MB Notification: Performance of Templates: time 0.005404/0.3199, allocations: 3.4 MB / 0.5808 GB, free: 168 kB / 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 6.7816702460404485]