Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 83.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2862, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003795/0.29, allocations: 3.292 MB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2914, allocations: 0.8281 MB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.2917, allocations: 10.81 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2919, allocations: 71.5 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.2922, allocations: 181.7 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.2924, allocations: 110.8 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.2929, allocations: 0.5921 MB / 0.5366 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.2932, allocations: 179.5 kB / 0.5368 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.2934, allocations: 224.2 kB / 0.537 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.2937, allocations: 240.2 kB / 0.5372 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.2938, allocations: 43 kB / 0.5373 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.2938, allocations: 48.47 kB / 0.5373 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.2939, allocations: 106.8 kB / 0.5374 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.2942, allocations: 265 kB / 0.5377 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.2947, allocations: 0.5659 MB / 0.5382 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2947, allocations: 0 / 0.5382 GB, free: 8.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2947, allocations: 1.219 kB / 0.5382 GB, free: 8.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2947, allocations: 0 / 0.5382 GB, free: 8.566 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.000999/0.2957, allocations: 0.7479 MB / 0.5389 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2958, allocations: 9.156 kB / 0.539 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.2959, allocations: 51.84 kB / 0.539 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2963, allocations: 327 kB / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.2963, allocations: 36.56 kB / 0.5394 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.2964, allocations: 60.38 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.297, allocations: 441 kB / 0.5398 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.2971, allocations: 14.38 kB / 0.5398 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.2971, allocations: 20.53 kB / 0.5399 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2971, allocations: 11.53 kB / 0.5399 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.2976, allocations: 312.2 kB / 0.5402 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.299, allocations: 1.142 MB / 0.5413 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.2997, allocations: 484.6 kB / 0.5417 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.3, allocations: 218.5 kB / 0.542 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3, allocations: 10.72 kB / 0.542 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3001, allocations: 38.38 kB / 0.542 GB, free: 5.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 1.693e-06/0.3001, allocations: 0 / 0.542 GB, free: 5.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.002619/0.3027, allocations: 2.129 MB / 0.5441 GB, free: 4.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3028, allocations: 84.45 kB / 0.5442 GB, free: 4.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.303, allocations: 264.2 kB / 0.5444 GB, free: 3.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.303, allocations: 35.8 kB / 0.5444 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3031, allocations: 211.8 kB / 0.5447 GB, free: 3.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3033, allocations: 275.9 kB / 0.5449 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.3034, allocations: 118.9 kB / 0.545 GB, free: 3.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3036, allocations: 361.2 kB / 0.5454 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3038, allocations: 158.1 kB / 0.5455 GB, free: 2.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3041, allocations: 277.4 kB / 0.5458 GB, free: 2.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.3047, allocations: 479.4 kB / 0.5462 GB, free: 2.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3047, allocations: 4 kB / 0.5462 GB, free: 2.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007033/0.3054, allocations: 0.5632 MB / 0.5468 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3054, allocations: 7.938 kB / 0.5468 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3054, allocations: 4 kB / 0.5468 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3055, allocations: 8 kB / 0.5468 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.306, allocations: 175.8 kB / 0.547 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.306, allocations: 7.938 kB / 0.547 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3062, allocations: 27.98 kB / 0.547 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3063, allocations: 27.94 kB / 0.547 GB, free: 1.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001581/0.3064, allocations: 181.8 kB / 0.5472 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.3065, allocations: 43.53 kB / 0.5473 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.3066, allocations: 55.64 kB / 0.5473 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3066, allocations: 8 kB / 0.5473 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.3067, allocations: 4 kB / 0.5473 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3067, allocations: 3.984 kB / 0.5473 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.3083, allocations: 1.448 MB / 0.5487 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3083, allocations: 3.984 kB / 0.5487 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.3089, allocations: 159.8 kB / 0.5489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3089, allocations: 4 kB / 0.5489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.309, allocations: 27.92 kB / 0.5489 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.309, allocations: 8 kB / 0.5489 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.309, allocations: 0 / 0.5489 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.3099, allocations: 0.912 MB / 0.5498 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.31, allocations: 124.5 kB / 0.5499 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.31, allocations: 19.94 kB / 0.55 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.3103, allocations: 16 kB / 0.55 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.3104, allocations: 52.38 kB / 0.55 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3104, allocations: 20 kB / 0.5501 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3105, allocations: 185.9 kB / 0.5502 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3105, allocations: 0 / 0.5502 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.311, allocations: 140 kB / 0.5504 GB, free: 13.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001277/0.3111, allocations: 123.1 kB / 0.5505 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.3117, allocations: 471.7 kB / 0.5509 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3118, allocations: 0 / 0.5509 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.312, allocations: 238.2 kB / 0.5512 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.3128, allocations: 124.8 kB / 0.5513 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3148, allocations: 1.685 MB / 0.5529 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3152, allocations: 0.8485 MB / 0.5537 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3153, allocations: 47.44 kB / 0.5538 GB, free: 10.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3153, allocations: 0 / 0.5538 GB, free: 10.24 MB / 414.1 MB Notification: Performance of Templates: time 0.007139/0.3225, allocations: 6.008 MB / 0.5597 GB, free: 4.254 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches