Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 116.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 198.9 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2015/0.2015, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 62.72 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004511/0.1106, allocations: 3.276 MB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1124, allocations: 0.8344 MB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.1128, allocations: 11.94 kB / 0.4926 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1131, allocations: 79.23 kB / 0.4926 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.1137, allocations: 166.5 kB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.114, allocations: 111.8 kB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.1147, allocations: 0.5987 MB / 0.4935 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.1151, allocations: 173.3 kB / 0.4936 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1154, allocations: 215.2 kB / 0.4938 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.1157, allocations: 239 kB / 0.4941 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.281e-05/0.1159, allocations: 47.94 kB / 0.4941 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.116, allocations: 44 kB / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.1161, allocations: 103.7 kB / 0.4943 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.1163, allocations: 266.7 kB / 0.4945 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.1169, allocations: 0.5528 MB / 0.4951 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1169, allocations: 0 / 0.4951 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.1169, allocations: 0 / 0.4951 GB, free: 5.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.1169, allocations: 3.938 kB / 0.4951 GB, free: 5.07 MB / 382.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.001162/0.1181, allocations: 0.76 MB / 0.4958 GB, free: 4.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1182, allocations: 11.89 kB / 0.4958 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1183, allocations: 56.28 kB / 0.4959 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.1187, allocations: 326.4 kB / 0.4962 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.1188, allocations: 33.38 kB / 0.4962 GB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.1189, allocations: 60.27 kB / 0.4963 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.1196, allocations: 434.9 kB / 0.4967 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.1196, allocations: 15.89 kB / 0.4967 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1197, allocations: 23.94 kB / 0.4967 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1197, allocations: 12 kB / 0.4967 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1202, allocations: 316.4 kB / 0.497 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1218, allocations: 1.134 MB / 0.4981 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.1225, allocations: 492.9 kB / 0.4986 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.1229, allocations: 214.9 kB / 0.4988 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1229, allocations: 4.438 kB / 0.4988 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1229, allocations: 46.97 kB / 0.4989 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.854e-06/0.1229, allocations: 0 / 0.4989 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002941/0.1259, allocations: 2.147 MB / 0.501 GB, free: 14.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.126, allocations: 89.67 kB / 0.501 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.1262, allocations: 247 kB / 0.5013 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.1263, allocations: 33.7 kB / 0.5013 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1264, allocations: 217 kB / 0.5015 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.1266, allocations: 268 kB / 0.5018 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.1268, allocations: 118.7 kB / 0.5019 GB, free: 13.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1269, allocations: 362.7 kB / 0.5022 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1272, allocations: 161.9 kB / 0.5024 GB, free: 13.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.1275, allocations: 268.9 kB / 0.5026 GB, free: 12.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.1281, allocations: 476 kB / 0.5031 GB, free: 12.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1282, allocations: 0 / 0.5031 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007997/0.129, allocations: 0.5668 MB / 0.5037 GB, free: 11.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.129, allocations: 6.656 kB / 0.5037 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.129, allocations: 4 kB / 0.5037 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.129, allocations: 12.28 kB / 0.5037 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.1296, allocations: 187.7 kB / 0.5039 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.1296, allocations: 4 kB / 0.5039 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1299, allocations: 27.98 kB / 0.5039 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.1299, allocations: 31.94 kB / 0.5039 GB, free: 11.48 MB / 398.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.1301, allocations: 177.6 kB / 0.5041 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.808e-05/0.1302, allocations: 47.44 kB / 0.5041 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1304, allocations: 63.64 kB / 0.5042 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1304, allocations: 8 kB / 0.5042 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1304, allocations: 0 / 0.5042 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1304, allocations: 3.984 kB / 0.5042 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.1323, allocations: 1.44 MB / 0.5056 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.1323, allocations: 4.344 kB / 0.5056 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.1329, allocations: 159.8 kB / 0.5058 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.1329, allocations: 4 kB / 0.5058 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.133, allocations: 23.94 kB / 0.5058 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/0.133, allocations: 11.94 kB / 0.5058 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.133, allocations: 4 kB / 0.5058 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1341, allocations: 0.9116 MB / 0.5067 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1342, allocations: 116.6 kB / 0.5068 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.1343, allocations: 23.92 kB / 0.5068 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.1345, allocations: 16 kB / 0.5068 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.1346, allocations: 48.31 kB / 0.5069 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.1347, allocations: 20 kB / 0.5069 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1348, allocations: 189.9 kB / 0.5071 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1348, allocations: 0 / 0.5071 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.1353, allocations: 144 kB / 0.5072 GB, free: 7.902 MB / 398.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 () * 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 (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.0001392/0.1355, allocations: 115.1 kB / 0.5073 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.1362, allocations: 464 kB / 0.5078 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1362, allocations: 4.062 kB / 0.5078 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.1365, allocations: 230.2 kB / 0.508 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.1374, allocations: 130 kB / 0.5081 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1398, allocations: 1.693 MB / 0.5098 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1403, allocations: 0.8447 MB / 0.5106 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1405, allocations: 43.44 kB / 0.5106 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1405, allocations: 0 / 0.5106 GB, free: 4.293 MB / 398.1 MB Notification: Performance of Templates: time 0.009306/0.1498, allocations: 5.947 MB / 0.5165 GB, free: 14.36 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches