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.001108/0.001108, allocations: 116 kB / 17.08 MB, free: 6.008 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.001153/0.001153, allocations: 196.1 kB / 18.01 MB, free: 5.094 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.383/1.383, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2151/0.2151, allocations: 43.52 MB / 314.8 MB, free: 464 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.001622/0.001622, allocations: 63.91 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1149, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004998/0.1199, allocations: 3.272 MB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1218, allocations: 0.8421 MB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005031/0.1223, allocations: 11.94 kB / 0.4926 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.1227, allocations: 71.25 kB / 0.4926 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006518/0.1234, allocations: 170.5 kB / 0.4928 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1238, allocations: 107.8 kB / 0.4929 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009058/0.1247, allocations: 0.6065 MB / 0.4935 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.1251, allocations: 169.3 kB / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.1255, allocations: 227.2 kB / 0.4939 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.1259, allocations: 242.9 kB / 0.4941 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.126, allocations: 47.94 kB / 0.4941 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1261, allocations: 44 kB / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.1262, allocations: 99.67 kB / 0.4943 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.1265, allocations: 262.8 kB / 0.4945 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.1271, allocations: 0.5644 MB / 0.4951 GB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1271, allocations: 0 / 0.4951 GB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1271, allocations: 0 / 0.4951 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.1272, allocations: 3.938 kB / 0.4951 GB, free: 5.066 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.001223/0.1284, allocations: 0.7601 MB / 0.4958 GB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1284, allocations: 11.89 kB / 0.4958 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1286, allocations: 56.28 kB / 0.4959 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.1291, allocations: 322.4 kB / 0.4962 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.1291, allocations: 37.38 kB / 0.4962 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.1292, allocations: 52.28 kB / 0.4963 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.1299, allocations: 438.9 kB / 0.4967 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.13, allocations: 19.84 kB / 0.4967 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.13, allocations: 16 kB / 0.4967 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.13, allocations: 8 kB / 0.4967 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1305, allocations: 316.5 kB / 0.497 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.1323, allocations: 1.142 MB / 0.4982 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.133, allocations: 485.1 kB / 0.4986 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1333, allocations: 207 kB / 0.4988 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1333, allocations: 20.41 kB / 0.4988 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1333, allocations: 43.03 kB / 0.4989 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.494e-06/0.1333, allocations: 0 / 0.4989 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002987/0.1363, allocations: 2.139 MB / 0.501 GB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1364, allocations: 89.66 kB / 0.501 GB, free: 14.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1367, allocations: 247 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1367, allocations: 41.7 kB / 0.5013 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1369, allocations: 205 kB / 0.5015 GB, free: 14.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.137, allocations: 272 kB / 0.5018 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1372, allocations: 118.7 kB / 0.5019 GB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1373, allocations: 366.7 kB / 0.5022 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1376, allocations: 153.9 kB / 0.5024 GB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.1379, allocations: 276.8 kB / 0.5027 GB, free: 12.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.1385, allocations: 478.8 kB / 0.5031 GB, free: 12.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1386, allocations: 0 / 0.5031 GB, free: 12.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007949/0.1394, allocations: 0.5641 MB / 0.5037 GB, free: 11.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1394, allocations: 8 kB / 0.5037 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.1394, allocations: 4.281 kB / 0.5037 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1394, allocations: 8 kB / 0.5037 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.14, allocations: 171.8 kB / 0.5038 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.1401, allocations: 15.92 kB / 0.5039 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.1403, allocations: 20 kB / 0.5039 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.1404, allocations: 36 kB / 0.5039 GB, free: 11.5 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.000214/0.1406, allocations: 181.7 kB / 0.5041 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.1407, allocations: 43.44 kB / 0.5041 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1409, allocations: 59.64 kB / 0.5042 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1409, allocations: 8 kB / 0.5042 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.1409, allocations: 0 / 0.5042 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1409, allocations: 3.984 kB / 0.5042 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.1429, allocations: 1.444 MB / 0.5056 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1429, allocations: 8.281 kB / 0.5056 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.1435, allocations: 159.8 kB / 0.5058 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.1435, allocations: 8 kB / 0.5058 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.1436, allocations: 23.94 kB / 0.5058 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.1436, allocations: 4 kB / 0.5058 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1436, allocations: 7.984 kB / 0.5058 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1447, allocations: 0.9159 MB / 0.5067 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1448, allocations: 116.6 kB / 0.5068 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.1449, allocations: 23.94 kB / 0.5068 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.1452, allocations: 19.98 kB / 0.5069 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.1452, allocations: 40.33 kB / 0.5069 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.1453, allocations: 27.98 kB / 0.5069 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1454, allocations: 181.9 kB / 0.5071 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 0 / 0.5071 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000537/0.146, allocations: 148 kB / 0.5072 GB, free: 7.906 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.0001549/0.1462, allocations: 119.1 kB / 0.5073 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.147, allocations: 459.9 kB / 0.5078 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.147, allocations: 4.125 kB / 0.5078 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.1473, allocations: 242.2 kB / 0.508 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.1483, allocations: 131.6 kB / 0.5081 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1508, allocations: 1.681 MB / 0.5098 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1513, allocations: 0.8485 MB / 0.5106 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1514, allocations: 43.44 kB / 0.5107 GB, free: 4.297 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1514, allocations: 0 / 0.5107 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Templates: time 0.009946/0.1614, allocations: 6.008 MB / 0.5165 GB, free: 14.3 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