Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 179.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007316/0.0007316, allocations: 101.1 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3311/0.3311, allocations: 43.57 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002856/0.1065, allocations: 2.795 MB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1077, allocations: 0.8153 MB / 493.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1079, allocations: 11.94 kB / 493.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.108, allocations: 47.56 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1083, allocations: 154.8 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1085, allocations: 75.92 kB / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.1089, allocations: 0.5519 MB / 494.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1092, allocations: 132.9 kB / 494.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1093, allocations: 195.2 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1096, allocations: 207.1 kB / 495.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.1096, allocations: 24 kB / 495.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.1097, allocations: 31.94 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.1098, allocations: 75.69 kB / 495.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.1099, allocations: 125.4 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1102, allocations: 398.8 kB / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1102, allocations: 0 / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1102, allocations: 0 / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1103, allocations: 0 / 495.8 MB, free: 5.578 MB / 378.7 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.0009334/0.1112, allocations: 0.6936 MB / 496.5 MB, free: 4.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1112, allocations: 8.031 kB / 496.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.1113, allocations: 55.34 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1117, allocations: 305.3 kB / 496.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1117, allocations: 37 kB / 496.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.1118, allocations: 51.91 kB / 497 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.1124, allocations: 434.6 kB / 497.4 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1124, allocations: 11.91 kB / 497.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.1125, allocations: 20 kB / 497.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1125, allocations: 15.95 kB / 497.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.113, allocations: 312.4 kB / 497.8 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1145, allocations: 1.157 MB / 498.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.1152, allocations: 485.1 kB / 499.4 MB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.1155, allocations: 211 kB / 499.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1155, allocations: 8.594 kB / 499.6 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.1155, allocations: 46.97 kB / 499.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.904e-06/0.1156, allocations: 0 / 499.7 MB, free: 1.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1823/0.2979, allocations: 2.125 MB / 0.49 GB, free: 42.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.298, allocations: 89.03 kB / 0.4901 GB, free: 42.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.2984, allocations: 250.2 kB / 0.4903 GB, free: 42.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.2984, allocations: 36.27 kB / 0.4904 GB, free: 42.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2986, allocations: 212.5 kB / 0.4906 GB, free: 42.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.2988, allocations: 266.1 kB / 0.4908 GB, free: 42.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.2988, allocations: 15.22 kB / 0.4908 GB, free: 42.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2989, allocations: 360.2 kB / 0.4912 GB, free: 42.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.2992, allocations: 153.2 kB / 0.4913 GB, free: 42.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.2995, allocations: 271.8 kB / 0.4916 GB, free: 41.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.2999, allocations: 199 kB / 0.4918 GB, free: 41.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3, allocations: 0 / 0.4918 GB, free: 41.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009186/0.3009, allocations: 0.5629 MB / 0.4923 GB, free: 41.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3009, allocations: 9.875 kB / 0.4923 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3009, allocations: 2.188 kB / 0.4923 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.301, allocations: 9.5 kB / 0.4924 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.3016, allocations: 181.4 kB / 0.4925 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3016, allocations: 6.453 kB / 0.4925 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.3019, allocations: 28.42 kB / 0.4926 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3019, allocations: 26.34 kB / 0.4926 GB, free: 41.84 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.3021, allocations: 180.2 kB / 0.4928 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.3022, allocations: 47.2 kB / 0.4928 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.3023, allocations: 59.12 kB / 0.4929 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3023, allocations: 8.406 kB / 0.4929 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-05/0.3024, allocations: 0.75 kB / 0.4929 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3024, allocations: 8.969 kB / 0.4929 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3042, allocations: 1.448 MB / 0.4943 GB, free: 41.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3043, allocations: 2.312 kB / 0.4943 GB, free: 41.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.3049, allocations: 156.6 kB / 0.4944 GB, free: 41.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.3049, allocations: 6.219 kB / 0.4944 GB, free: 41.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.305, allocations: 18.22 kB / 0.4945 GB, free: 41.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.305, allocations: 6.969 kB / 0.4945 GB, free: 41.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.305, allocations: 8.469 kB / 0.4945 GB, free: 41.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3061, allocations: 0.9095 MB / 0.4954 GB, free: 40.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.3061, allocations: 116.8 kB / 0.4955 GB, free: 40.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.3062, allocations: 19.06 kB / 0.4955 GB, free: 40.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3065, allocations: 21.31 kB / 0.4955 GB, free: 40.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.3066, allocations: 53.66 kB / 0.4956 GB, free: 40.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.3066, allocations: 19.88 kB / 0.4956 GB, free: 40.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3068, allocations: 179.2 kB / 0.4958 GB, free: 40.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3068, allocations: 0 / 0.4958 GB, free: 40.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000487/0.3073, allocations: 144.1 kB / 0.4959 GB, free: 40.48 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.3074, allocations: 118.4 kB / 0.496 GB, free: 40.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.3081, allocations: 447.7 kB / 0.4964 GB, free: 40.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3081, allocations: 1.344 kB / 0.4964 GB, free: 40.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.3084, allocations: 239.8 kB / 0.4967 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.3093, allocations: 123.7 kB / 0.4968 GB, free: 40.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3118, allocations: 2.065 MB / 0.4988 GB, free: 38.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.3122, allocations: 0.8501 MB / 0.4996 GB, free: 38.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3123, allocations: 44.56 kB / 0.4997 GB, free: 38.25 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3123, allocations: 0 / 0.4997 GB, free: 38.25 MB / 378.7 MB Notification: Performance of Templates: time 0.007857/0.3202, allocations: 5.857 MB / 0.5054 GB, free: 37.76 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches