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.002066/0.002066, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.258/2.258, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 82.77 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2872/0.2872, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.871e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5244, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.7496, allocations: 86.51 MB / 0.5504 GB, free: 12.79 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/0.75, allocations: 71.95 kB / 0.5504 GB, free: 12.71 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05307/0.8031, allocations: 8.529 MB / 0.5588 GB, free: 4.152 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8031, allocations: 4 kB / 0.5588 GB, free: 4.148 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.8032, allocations: 8 kB / 0.5588 GB, free: 4.141 MB / 395.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.001993/0.8052, allocations: 0.6234 MB / 0.5594 GB, free: 3.473 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/0.8053, allocations: 8.031 kB / 0.5594 GB, free: 3.465 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.8055, allocations: 55.34 kB / 0.5595 GB, free: 3.41 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.8063, allocations: 301.3 kB / 0.5597 GB, free: 3.074 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.8064, allocations: 16 kB / 0.5598 GB, free: 3.059 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.8066, allocations: 35.91 kB / 0.5598 GB, free: 3.023 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001157/0.8078, allocations: 274.5 kB / 0.5601 GB, free: 2.754 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.8091, allocations: 355.6 kB / 0.5604 GB, free: 2.391 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.8092, allocations: 11.86 kB / 0.5604 GB, free: 2.379 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.8093, allocations: 4 kB / 0.5604 GB, free: 2.375 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.8093, allocations: 12 kB / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.8129, allocations: 1.072 MB / 0.5615 GB, free: 1.25 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.8144, allocations: 456 kB / 0.5619 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.8151, allocations: 185.9 kB / 0.5621 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.8152, allocations: 4.438 kB / 0.5621 GB, free: 0.5742 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.8152, allocations: 42.94 kB / 0.5621 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of pre-optimization done (n=62): time 5.51e-06/0.8153, allocations: 0 / 0.5621 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of matching and sorting (n=74): time 0.005811/0.8211, allocations: 1.819 MB / 0.5639 GB, free: 14.53 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.8212, allocations: 89.67 kB / 0.564 GB, free: 14.43 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.8217, allocations: 194.1 kB / 0.5642 GB, free: 14.23 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.8218, allocations: 25.7 kB / 0.5642 GB, free: 14.2 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.822, allocations: 263.3 kB / 0.5645 GB, free: 13.94 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.8224, allocations: 264.1 kB / 0.5647 GB, free: 13.68 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.8224, allocations: 0 / 0.5647 GB, free: 13.68 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8226, allocations: 338.8 kB / 0.565 GB, free: 13.34 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.823, allocations: 129.6 kB / 0.5651 GB, free: 13.21 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.8235, allocations: 249.2 kB / 0.5654 GB, free: 12.93 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.824, allocations: 181.3 kB / 0.5656 GB, free: 12.76 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.824, allocations: 0 / 0.5656 GB, free: 12.76 MB / 411.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001155/0.8252, allocations: 484 kB / 0.566 GB, free: 12.28 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.8252, allocations: 8.031 kB / 0.566 GB, free: 12.27 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.8252, allocations: 4 kB / 0.566 GB, free: 12.27 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.8253, allocations: 8 kB / 0.566 GB, free: 12.26 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.8265, allocations: 179.7 kB / 0.5662 GB, free: 12.09 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.8265, allocations: 7.953 kB / 0.5662 GB, free: 12.08 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.827, allocations: 8 kB / 0.5662 GB, free: 12.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/0.8271, allocations: 28 kB / 0.5663 GB, free: 12.04 MB / 411.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 () * 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.0001621/0.8272, allocations: 116.8 kB / 0.5664 GB, free: 11.92 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.8274, allocations: 51.41 kB / 0.5664 GB, free: 11.87 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.8275, allocations: 47.92 kB / 0.5665 GB, free: 11.82 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.8276, allocations: 8 kB / 0.5665 GB, free: 11.82 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.8276, allocations: 0 / 0.5665 GB, free: 11.82 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.8276, allocations: 7.938 kB / 0.5665 GB, free: 11.81 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.8305, allocations: 1.302 MB / 0.5677 GB, free: 10.41 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.8305, allocations: 3.984 kB / 0.5678 GB, free: 10.4 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.8318, allocations: 163.8 kB / 0.5679 GB, free: 10.24 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/0.8319, allocations: 8.344 kB / 0.5679 GB, free: 10.23 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.8319, allocations: 8 kB / 0.5679 GB, free: 10.23 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.8319, allocations: 7.938 kB / 0.5679 GB, free: 10.22 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.832, allocations: 7.953 kB / 0.5679 GB, free: 10.21 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.8338, allocations: 0.9815 MB / 0.5689 GB, free: 9.105 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.834, allocations: 116.6 kB / 0.569 GB, free: 8.973 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.8341, allocations: 8.062 kB / 0.569 GB, free: 8.965 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.8346, allocations: 12 kB / 0.569 GB, free: 8.953 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.8347, allocations: 48.27 kB / 0.5691 GB, free: 8.906 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.8347, allocations: 20 kB / 0.5691 GB, free: 8.887 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.835, allocations: 158 kB / 0.5692 GB, free: 8.734 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.835, allocations: 0 / 0.5692 GB, free: 8.734 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007863/0.8358, allocations: 124.1 kB / 0.5694 GB, free: 8.613 MB / 411.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 () * 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.0001868/0.836, allocations: 107.1 kB / 0.5695 GB, free: 8.5 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.837, allocations: 395 kB / 0.5698 GB, free: 8.109 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.837, allocations: 0 / 0.5698 GB, free: 8.109 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004555/0.8375, allocations: 214.3 kB / 0.57 GB, free: 7.902 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8386, allocations: 88.38 kB / 0.5701 GB, free: 7.816 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.8425, allocations: 1.553 MB / 0.5716 GB, free: 6.195 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.8431, allocations: 0.8566 MB / 0.5725 GB, free: 5.312 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.8434, allocations: 47.44 kB / 0.5725 GB, free: 5.266 MB / 411.1 MB Notification: Performance of SimCode: time 1.062e-06/0.8434, allocations: 4 kB / 0.5725 GB, free: 5.262 MB / 411.1 MB Notification: Performance of Templates: time 0.01521/0.8586, allocations: 5.644 MB / 0.578 GB, free: 15.64 MB / 427.1 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