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.001846/0.001846, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.486/2.486, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000896/0.0008962, allocations: 92.98 kB / 271.9 MB, free: 8.254 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.589/0.589, allocations: 43.56 MB / 363.8 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005225, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1972, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5569/0.7542, allocations: 87.3 MB / 0.5652 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004202/0.7547, allocations: 67.97 kB / 0.5652 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04112/0.7959, allocations: 8.608 MB / 0.5737 GB, free: 6.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7959, allocations: 0 / 0.5737 GB, free: 6.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.54e-05/0.796, allocations: 12 kB / 0.5737 GB, free: 6.297 MB / 394.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.001912/0.7979, allocations: 0.6585 MB / 0.5743 GB, free: 5.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.798, allocations: 11.42 kB / 0.5743 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.7983, allocations: 64.28 kB / 0.5744 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007114/0.799, allocations: 302.5 kB / 0.5747 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.7991, allocations: 37.38 kB / 0.5747 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.7993, allocations: 56.27 kB / 0.5748 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.8007, allocations: 435.1 kB / 0.5752 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-05/0.8008, allocations: 12.09 kB / 0.5752 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.8009, allocations: 23.94 kB / 0.5752 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.8009, allocations: 12 kB / 0.5752 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.802, allocations: 308.5 kB / 0.5755 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.8054, allocations: 1.157 MB / 0.5766 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.8068, allocations: 493 kB / 0.5771 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.8073, allocations: 207 kB / 0.5773 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.8074, allocations: 4.438 kB / 0.5773 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.8075, allocations: 39 kB / 0.5774 GB, free: 2.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 8.355e-06/0.8075, allocations: 4.906 kB / 0.5774 GB, free: 2.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.00568/0.8132, allocations: 2.127 MB / 0.5794 GB, free: 28 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.8133, allocations: 85.67 kB / 0.5795 GB, free: 15.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.8138, allocations: 255 kB / 0.5798 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.8139, allocations: 37.7 kB / 0.5798 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8141, allocations: 209 kB / 0.58 GB, free: 15.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.8145, allocations: 280 kB / 0.5803 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.8145, allocations: 12 kB / 0.5803 GB, free: 15.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.8147, allocations: 362.7 kB / 0.5806 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.8152, allocations: 149.9 kB / 0.5808 GB, free: 14.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.8159, allocations: 276.8 kB / 0.581 GB, free: 14.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.817, allocations: 463.5 kB / 0.5815 GB, free: 13.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.817, allocations: 4 kB / 0.5815 GB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001576/0.8186, allocations: 0.5601 MB / 0.582 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.8187, allocations: 8 kB / 0.582 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.8187, allocations: 0 / 0.582 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/0.8188, allocations: 8 kB / 0.582 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.8199, allocations: 175.8 kB / 0.5822 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/0.82, allocations: 11.94 kB / 0.5822 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.8206, allocations: 28.22 kB / 0.5822 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.8206, allocations: 28 kB / 0.5823 GB, free: 13 MB / 410.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.0003985/0.821, allocations: 173.7 kB / 0.5824 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.8212, allocations: 51.42 kB / 0.5825 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.8214, allocations: 55.66 kB / 0.5825 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.8215, allocations: 8 kB / 0.5825 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/0.8215, allocations: 11.86 kB / 0.5826 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8215, allocations: 4 kB / 0.5826 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.8251, allocations: 1.442 MB / 0.584 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.8252, allocations: 4.062 kB / 0.584 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8264, allocations: 159.8 kB / 0.5841 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/0.8265, allocations: 8 kB / 0.5841 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.8265, allocations: 20 kB / 0.5841 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.8266, allocations: 11.88 kB / 0.5842 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.8266, allocations: 7.938 kB / 0.5842 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.8286, allocations: 0.904 MB / 0.585 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.8289, allocations: 116.5 kB / 0.5852 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.829, allocations: 23.94 kB / 0.5852 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.8295, allocations: 19.98 kB / 0.5852 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.8296, allocations: 48.38 kB / 0.5852 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.8297, allocations: 23.98 kB / 0.5853 GB, free: 9.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.83, allocations: 174 kB / 0.5854 GB, free: 9.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8301, allocations: 4 kB / 0.5854 GB, free: 9.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001056/0.8311, allocations: 147.9 kB / 0.5856 GB, free: 9.41 MB / 410.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.0002614/0.8314, allocations: 123 kB / 0.5857 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.8327, allocations: 447.6 kB / 0.5861 GB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.8327, allocations: 0 / 0.5861 GB, free: 8.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.8333, allocations: 234.2 kB / 0.5863 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.8348, allocations: 116.2 kB / 0.5865 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.8393, allocations: 2.077 MB / 0.5885 GB, free: 6.375 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.8399, allocations: 0.8449 MB / 0.5893 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.8402, allocations: 47.44 kB / 0.5894 GB, free: 5.461 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8402, allocations: 0 / 0.5894 GB, free: 5.461 MB / 410.7 MB Notification: Performance of Templates: time 0.01671/0.8569, allocations: 5.869 MB / 0.5951 GB, free: 15.61 MB / 426.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/jenkins1/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