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.0008604/0.0008604, allocations: 175.2 kB / 16.72 MB, free: 5.078 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.185/1.185, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.000769/0.000769, allocations: 99.88 kB / 271.2 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.2812/0.2812, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004144, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09898, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002825/0.1018, allocations: 2.787 MB / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.103, allocations: 0.8152 MB / 494.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1032, allocations: 11.94 kB / 494.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1033, allocations: 51.56 kB / 494.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1036, allocations: 154.8 kB / 494.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1038, allocations: 71.92 kB / 494.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.1042, allocations: 0.5558 MB / 495.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.1045, allocations: 158 kB / 495.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1047, allocations: 187.3 kB / 495.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1049, allocations: 203.1 kB / 495.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.1049, allocations: 24 kB / 495.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.105, allocations: 24 kB / 495.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.1051, allocations: 83.67 kB / 495.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.1053, allocations: 260.6 kB / 496.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1056, allocations: 402.8 kB / 496.6 MB, free: 5.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1056, allocations: 0 / 496.6 MB, free: 5.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1056, allocations: 0 / 496.6 MB, free: 5.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1056, allocations: 0 / 496.6 MB, free: 5.098 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.000865/0.1065, allocations: 0.686 MB / 497.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1065, allocations: 8.031 kB / 497.3 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.1066, allocations: 60.28 kB / 497.3 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.107, allocations: 314.5 kB / 497.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.107, allocations: 37.38 kB / 497.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.1071, allocations: 56.27 kB / 497.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.1077, allocations: 430.9 kB / 498.2 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.1078, allocations: 15.89 kB / 498.2 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.1078, allocations: 16 kB / 498.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1078, allocations: 12 kB / 498.2 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.1083, allocations: 312.5 kB / 498.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1098, allocations: 1.157 MB / 499.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.1105, allocations: 489.1 kB / 0.4884 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.1108, allocations: 203 kB / 0.4886 GB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1108, allocations: 8.438 kB / 0.4886 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1108, allocations: 39.22 kB / 0.4887 GB, free: 1.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.216e-06/0.1108, allocations: 0 / 0.4887 GB, free: 1.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1711/0.282, allocations: 2.131 MB / 0.4907 GB, free: 42.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2821, allocations: 87.94 kB / 0.4908 GB, free: 42.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.2823, allocations: 248.3 kB / 0.4911 GB, free: 42.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2824, allocations: 38.98 kB / 0.4911 GB, free: 42.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.2825, allocations: 209.4 kB / 0.4913 GB, free: 42.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.2826, allocations: 269.1 kB / 0.4916 GB, free: 41.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.2826, allocations: 14.34 kB / 0.4916 GB, free: 41.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.2827, allocations: 362 kB / 0.4919 GB, free: 41.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.283, allocations: 161.4 kB / 0.4921 GB, free: 41.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.2833, allocations: 270.7 kB / 0.4923 GB, free: 41.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.2839, allocations: 460.5 kB / 0.4928 GB, free: 41.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2839, allocations: 1.031 kB / 0.4928 GB, free: 41.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007336/0.2846, allocations: 0.5653 MB / 0.4933 GB, free: 41.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2847, allocations: 10.06 kB / 0.4933 GB, free: 41.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2847, allocations: 2.938 kB / 0.4933 GB, free: 41.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2847, allocations: 8.297 kB / 0.4933 GB, free: 41.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.2853, allocations: 176.5 kB / 0.4935 GB, free: 41.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2853, allocations: 6.594 kB / 0.4935 GB, free: 41.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.2855, allocations: 35.05 kB / 0.4935 GB, free: 41.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.2856, allocations: 22.38 kB / 0.4936 GB, free: 41.28 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.0001569/0.2857, allocations: 175.6 kB / 0.4937 GB, free: 41.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.2858, allocations: 46.7 kB / 0.4938 GB, free: 41.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.2859, allocations: 60.64 kB / 0.4938 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2859, allocations: 7.25 kB / 0.4938 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.2859, allocations: 3.438 kB / 0.4938 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.286, allocations: 4.609 kB / 0.4938 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.2876, allocations: 1.449 MB / 0.4953 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2876, allocations: 2.938 kB / 0.4953 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/0.2882, allocations: 166.6 kB / 0.4954 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2882, allocations: 5.531 kB / 0.4954 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2883, allocations: 18.78 kB / 0.4954 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.2883, allocations: 6.312 kB / 0.4955 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2883, allocations: 8.203 kB / 0.4955 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.2892, allocations: 0.8998 MB / 0.4963 GB, free: 40.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.2893, allocations: 119.9 kB / 0.4965 GB, free: 40.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.2893, allocations: 23.28 kB / 0.4965 GB, free: 40.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.2896, allocations: 22.67 kB / 0.4965 GB, free: 40.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.2897, allocations: 49.45 kB / 0.4965 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.2897, allocations: 23.45 kB / 0.4966 GB, free: 40 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.2898, allocations: 174.8 kB / 0.4967 GB, free: 39.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2898, allocations: 0 / 0.4967 GB, free: 39.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.2904, allocations: 145.8 kB / 0.4969 GB, free: 39.92 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.000101/0.2905, allocations: 122.9 kB / 0.497 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006387/0.2911, allocations: 443.6 kB / 0.4974 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2911, allocations: 1.375 kB / 0.4974 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.2914, allocations: 235.5 kB / 0.4976 GB, free: 39.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.2923, allocations: 118.5 kB / 0.4978 GB, free: 39.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.2945, allocations: 2.07 MB / 0.4998 GB, free: 38.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2949, allocations: 0.8443 MB / 0.5006 GB, free: 37.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.295, allocations: 45.62 kB / 0.5006 GB, free: 37.68 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.295, allocations: 1.406 kB / 0.5006 GB, free: 37.68 MB / 378.7 MB Notification: Performance of Templates: time 0.006976/0.302, allocations: 5.873 MB / 0.5064 GB, free: 37.19 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