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.001195/0.001195, allocations: 112.4 kB / 18.45 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.001256/0.001256, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.275, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00387/0.279, allocations: 3.297 MB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2803, allocations: 0.8279 MB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.2805, allocations: 10.88 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.2806, allocations: 73.86 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.281, allocations: 173.1 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.2812, allocations: 114.2 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.2817, allocations: 0.5928 MB / 0.5366 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.282, allocations: 186.6 kB / 0.5368 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2822, allocations: 220.3 kB / 0.537 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.2824, allocations: 240.4 kB / 0.5372 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.2825, allocations: 43.22 kB / 0.5373 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.2826, allocations: 44.28 kB / 0.5373 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.2827, allocations: 101.6 kB / 0.5374 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.2829, allocations: 274.9 kB / 0.5377 GB, free: 9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.2834, allocations: 0.5539 MB / 0.5382 GB, free: 8.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2834, allocations: 4 kB / 0.5382 GB, free: 8.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2834, allocations: 0 / 0.5382 GB, free: 8.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2834, allocations: 1.062 kB / 0.5382 GB, free: 8.598 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.0009659/0.2844, allocations: 0.7509 MB / 0.5389 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2844, allocations: 13.94 kB / 0.539 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.2845, allocations: 52.41 kB / 0.539 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2849, allocations: 326.2 kB / 0.5393 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.285, allocations: 32.22 kB / 0.5393 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.285, allocations: 61.95 kB / 0.5394 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.2856, allocations: 435.1 kB / 0.5398 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.2857, allocations: 16.36 kB / 0.5398 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.2857, allocations: 23.38 kB / 0.5399 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2857, allocations: 11.44 kB / 0.5399 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.2862, allocations: 316.3 kB / 0.5402 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2876, allocations: 1.139 MB / 0.5413 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.2883, allocations: 481.6 kB / 0.5417 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.2885, allocations: 216.9 kB / 0.5419 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2886, allocations: 7.219 kB / 0.542 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2886, allocations: 42.34 kB / 0.542 GB, free: 5.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.2886, allocations: 4 kB / 0.542 GB, free: 5.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.002685/0.2913, allocations: 2.132 MB / 0.5441 GB, free: 4.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2914, allocations: 85.27 kB / 0.5442 GB, free: 4.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.2916, allocations: 259.5 kB / 0.5444 GB, free: 3.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2916, allocations: 35.89 kB / 0.5444 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2918, allocations: 215.8 kB / 0.5446 GB, free: 3.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.2919, allocations: 267 kB / 0.5449 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.2921, allocations: 115.9 kB / 0.545 GB, free: 3.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2922, allocations: 365.2 kB / 0.5454 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2924, allocations: 154 kB / 0.5455 GB, free: 2.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.2927, allocations: 274 kB / 0.5458 GB, free: 2.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.2933, allocations: 484.8 kB / 0.5462 GB, free: 2.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2933, allocations: 0 / 0.5462 GB, free: 2.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007133/0.294, allocations: 0.5668 MB / 0.5468 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2941, allocations: 8 kB / 0.5468 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2941, allocations: 0 / 0.5468 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2941, allocations: 8.281 kB / 0.5468 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.2946, allocations: 187.7 kB / 0.547 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.2946, allocations: 8 kB / 0.547 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.2949, allocations: 20 kB / 0.547 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.2949, allocations: 31.94 kB / 0.547 GB, free: 1.477 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.0001686/0.2951, allocations: 181.6 kB / 0.5472 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.2952, allocations: 43.53 kB / 0.5473 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.2953, allocations: 63.64 kB / 0.5473 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2953, allocations: 8 kB / 0.5473 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.2953, allocations: 0 / 0.5473 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.2953, allocations: 8.016 kB / 0.5473 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.297, allocations: 1.436 MB / 0.5487 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.297, allocations: 7.938 kB / 0.5487 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.2976, allocations: 156.1 kB / 0.5489 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.2976, allocations: 12 kB / 0.5489 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.2976, allocations: 23.94 kB / 0.5489 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.2977, allocations: 7.938 kB / 0.5489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2977, allocations: 4 kB / 0.5489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.2986, allocations: 0.9039 MB / 0.5498 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.2987, allocations: 124.5 kB / 0.5499 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.2987, allocations: 19.94 kB / 0.55 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.299, allocations: 19.98 kB / 0.55 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.2991, allocations: 52.25 kB / 0.55 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.2991, allocations: 20 kB / 0.55 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2993, allocations: 185.9 kB / 0.5502 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2993, allocations: 0 / 0.5502 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.2997, allocations: 144 kB / 0.5504 GB, free: 13.88 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.000111/0.2999, allocations: 123 kB / 0.5505 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.3005, allocations: 463.8 kB / 0.5509 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3005, allocations: 0.5625 kB / 0.5509 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.3008, allocations: 238.2 kB / 0.5511 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.3016, allocations: 131.3 kB / 0.5513 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3037, allocations: 1.681 MB / 0.5529 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3041, allocations: 0.8407 MB / 0.5537 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3042, allocations: 47.44 kB / 0.5538 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3042, allocations: 0 / 0.5538 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Templates: time 0.007665/0.3119, allocations: 6.017 MB / 0.5597 GB, free: 4.285 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