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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 219.3 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.24 MB / 331 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.89 kB / 468.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 61.04 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004369/0.1092, allocations: 3.297 MB / 0.5206 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1106, allocations: 0.8577 MB / 0.5214 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1107, allocations: 15.88 kB / 0.5214 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1109, allocations: 71.23 kB / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.1112, allocations: 178.5 kB / 0.5217 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1115, allocations: 103.9 kB / 0.5218 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.1121, allocations: 0.6065 MB / 0.5224 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.1123, allocations: 121.8 kB / 0.5225 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1125, allocations: 239.2 kB / 0.5227 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1128, allocations: 235 kB / 0.5229 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.1129, allocations: 44 kB / 0.523 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.113, allocations: 44 kB / 0.523 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.1131, allocations: 99.61 kB / 0.5231 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.1133, allocations: 274.7 kB / 0.5234 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.1139, allocations: 0.5601 MB / 0.5239 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1139, allocations: 0 / 0.5239 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1139, allocations: 0 / 0.5239 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1139, allocations: 0 / 0.5239 GB, free: 80 kB / 398.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.001039/0.1149, allocations: 0.6923 MB / 0.5246 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.115, allocations: 12.03 kB / 0.5246 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.115, allocations: 56.56 kB / 0.5247 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1154, allocations: 256.8 kB / 0.5249 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.1155, allocations: 37.38 kB / 0.5249 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.1156, allocations: 56.31 kB / 0.525 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.1162, allocations: 434.9 kB / 0.5254 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.1163, allocations: 19.88 kB / 0.5254 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1163, allocations: 16 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1163, allocations: 12 kB / 0.5255 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.1168, allocations: 316.4 kB / 0.5258 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1183, allocations: 1.096 MB / 0.5268 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.119, allocations: 391.7 kB / 0.5272 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.1193, allocations: 194.9 kB / 0.5274 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1193, allocations: 8.438 kB / 0.5274 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1193, allocations: 39.03 kB / 0.5274 GB, free: 12.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.523e-06/0.1193, allocations: 0 / 0.5274 GB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002747/0.1221, allocations: 1.85 MB / 0.5292 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.1221, allocations: 89.59 kB / 0.5293 GB, free: 10.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1224, allocations: 252.2 kB / 0.5296 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1224, allocations: 37.7 kB / 0.5296 GB, free: 9.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1225, allocations: 217.4 kB / 0.5298 GB, free: 9.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.1227, allocations: 281.5 kB / 0.5301 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1229, allocations: 126.7 kB / 0.5302 GB, free: 9.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.123, allocations: 358.7 kB / 0.5305 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.1233, allocations: 153.9 kB / 0.5307 GB, free: 8.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1236, allocations: 272.9 kB / 0.5309 GB, free: 8.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.1242, allocations: 474.6 kB / 0.5314 GB, free: 8.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1242, allocations: 0 / 0.5314 GB, free: 8.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007797/0.125, allocations: 0.571 MB / 0.532 GB, free: 7.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.125, allocations: 8.219 kB / 0.532 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.125, allocations: 11.94 kB / 0.532 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1251, allocations: 4 kB / 0.532 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.1256, allocations: 179.8 kB / 0.5322 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1256, allocations: 4 kB / 0.5322 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.1258, allocations: 24 kB / 0.5322 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1259, allocations: 31.88 kB / 0.5322 GB, free: 7.207 MB / 414.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.0001814/0.1261, allocations: 177.7 kB / 0.5324 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.1261, allocations: 51.77 kB / 0.5324 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.1263, allocations: 59.66 kB / 0.5325 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.1263, allocations: 11.98 kB / 0.5325 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1263, allocations: 0 / 0.5325 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1263, allocations: 4 kB / 0.5325 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.1281, allocations: 1.396 MB / 0.5339 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1281, allocations: 8.031 kB / 0.5339 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.1287, allocations: 163.7 kB / 0.534 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.1287, allocations: 8 kB / 0.534 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.1288, allocations: 23.94 kB / 0.5341 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1288, allocations: 4 kB / 0.5341 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1288, allocations: 4 kB / 0.5341 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1298, allocations: 0.9167 MB / 0.535 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1299, allocations: 43.72 kB / 0.535 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.1299, allocations: 27.97 kB / 0.535 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.1302, allocations: 19.98 kB / 0.535 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.1302, allocations: 48.28 kB / 0.5351 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1303, allocations: 28 kB / 0.5351 GB, free: 4.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1304, allocations: 179 kB / 0.5353 GB, free: 3.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1304, allocations: 0 / 0.5353 GB, free: 3.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004674/0.1309, allocations: 148 kB / 0.5354 GB, free: 3.734 MB / 414.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.0001324/0.131, allocations: 127 kB / 0.5356 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.1317, allocations: 432.1 kB / 0.536 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1317, allocations: 0 / 0.536 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.132, allocations: 226.2 kB / 0.5362 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.1327, allocations: 130.7 kB / 0.5363 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1351, allocations: 1.702 MB / 0.538 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.1355, allocations: 0.8445 MB / 0.5388 GB, free: 200 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1356, allocations: 47.44 kB / 0.5388 GB, free: 152 kB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1356, allocations: 7.938 kB / 0.5388 GB, free: 144 kB / 414.1 MB Notification: Performance of Templates: time 0.1841/0.3197, allocations: 6.063 MB / 0.5448 GB, free: 23.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.383632624987513]