Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 206.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1925/0.1925, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 72.2 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2842, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00362/0.2878, allocations: 3.074 MB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.2885, allocations: 418.8 kB / 0.535 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2887, allocations: 10.81 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2888, allocations: 66.17 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.2891, allocations: 171.2 kB / 0.5353 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2893, allocations: 101.4 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.2898, allocations: 0.5361 MB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.29, allocations: 166.2 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.2902, allocations: 209.8 kB / 0.5363 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2905, allocations: 214 kB / 0.5365 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.2905, allocations: 40.69 kB / 0.5365 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.2906, allocations: 41.12 kB / 0.5365 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.2907, allocations: 97.23 kB / 0.5366 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.2909, allocations: 247.8 kB / 0.5369 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.2913, allocations: 0.5256 MB / 0.5374 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2913, allocations: 3.984 kB / 0.5374 GB, free: 9.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2913, allocations: 0 / 0.5374 GB, free: 9.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2914, allocations: 1.375 kB / 0.5374 GB, free: 9.242 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008587/0.2922, allocations: 0.7072 MB / 0.5381 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2923, allocations: 9.219 kB / 0.5381 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.2924, allocations: 59.69 kB / 0.5381 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.2926, allocations: 287.4 kB / 0.5384 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.2927, allocations: 36.16 kB / 0.5385 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.2927, allocations: 56.73 kB / 0.5385 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.2934, allocations: 464.8 kB / 0.539 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.2934, allocations: 12.69 kB / 0.539 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2934, allocations: 19.97 kB / 0.539 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2935, allocations: 13.38 kB / 0.539 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.2939, allocations: 256 kB / 0.5392 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.2958, allocations: 1.699 MB / 0.5409 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.2963, allocations: 404 kB / 0.5413 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.2965, allocations: 161.4 kB / 0.5414 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.2965, allocations: 5.875 kB / 0.5414 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2965, allocations: 50.77 kB / 0.5415 GB, free: 5.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.2965, allocations: 0 / 0.5415 GB, free: 5.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006718/0.2972, allocations: 353.8 kB / 0.5418 GB, free: 5.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.2973, allocations: 275.2 kB / 0.5421 GB, free: 5.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.2975, allocations: 255.7 kB / 0.5423 GB, free: 5.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2976, allocations: 35.2 kB / 0.5424 GB, free: 5.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2977, allocations: 241.7 kB / 0.5426 GB, free: 4.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2978, allocations: 183.4 kB / 0.5428 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.298, allocations: 115.1 kB / 0.5429 GB, free: 4.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2981, allocations: 351.5 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.2983, allocations: 121.9 kB / 0.5433 GB, free: 4.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.2987, allocations: 418.7 kB / 0.5437 GB, free: 3.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.2992, allocations: 0.5777 MB / 0.5443 GB, free: 3.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.2993, allocations: 6.281 kB / 0.5443 GB, free: 3.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007376/0.3, allocations: 0.5678 MB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3, allocations: 9.031 kB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3, allocations: 10.16 kB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3001, allocations: 14.44 kB / 0.5449 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.3006, allocations: 184.8 kB / 0.5451 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.3006, allocations: 17.91 kB / 0.5451 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3009, allocations: 62.88 kB / 0.5451 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.3009, allocations: 35.78 kB / 0.5452 GB, free: 2.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001614/0.3011, allocations: 181.7 kB / 0.5454 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.3013, allocations: 39.88 kB / 0.5454 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.3014, allocations: 37.92 kB / 0.5454 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.3014, allocations: 10.12 kB / 0.5454 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3014, allocations: 2.875 kB / 0.5454 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3014, allocations: 3.062 kB / 0.5454 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.3023, allocations: 419.5 kB / 0.5458 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3023, allocations: 3 kB / 0.5458 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.3029, allocations: 126.2 kB / 0.546 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3029, allocations: 7.719 kB / 0.546 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.3029, allocations: 18.55 kB / 0.546 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3029, allocations: 7.281 kB / 0.546 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3029, allocations: 2.281 kB / 0.546 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.3037, allocations: 1.088 MB / 0.5471 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.3037, allocations: 112.7 kB / 0.5472 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.3038, allocations: 12 kB / 0.5472 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3042, allocations: 15.94 kB / 0.5472 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3042, allocations: 27.95 kB / 0.5472 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3042, allocations: 16 kB / 0.5472 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.3044, allocations: 170 kB / 0.5474 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3044, allocations: 0 / 0.5474 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007818/0.3051, allocations: 135.7 kB / 0.5475 GB, free: 0.6523 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0001685/0.3053, allocations: 119.1 kB / 0.5476 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004732/0.3058, allocations: 345.5 kB / 0.548 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3058, allocations: 0 / 0.548 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.306, allocations: 135.9 kB / 0.5481 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3071, allocations: 102.9 kB / 0.5482 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3095, allocations: 2.001 MB / 0.5502 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3098, allocations: 0.8197 MB / 0.551 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.3099, allocations: 39.44 kB / 0.551 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3099, allocations: 0 / 0.551 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Templates: time 0.006668/0.3166, allocations: 5.074 MB / 0.556 GB, free: 7.949 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches