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.001734/0.001734, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002169/0.002169, allocations: 215.3 kB / 23.78 MB, free: 4.551 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.495/1.495, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2522/0.2522, allocations: 44.26 MB / 331.1 MB, free: 9.332 MB / 270.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="cs",version="2.0",platforms={"static"}) [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.002209/0.002209, allocations: 67.91 kB / 468.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1184, allocations: 61.05 MB / 0.5169 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00461/0.123, allocations: 2.981 MB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1247, allocations: 0.815 MB / 0.5206 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.125, allocations: 15.81 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1252, allocations: 75.23 kB / 0.5207 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.1256, allocations: 182.5 kB / 0.5209 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1259, allocations: 107.8 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006713/0.1266, allocations: 0.5949 MB / 0.5216 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.1268, allocations: 121.8 kB / 0.5217 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.1271, allocations: 243.1 kB / 0.5219 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.1274, allocations: 235 kB / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.1275, allocations: 48 kB / 0.5222 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.1276, allocations: 44 kB / 0.5222 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.1277, allocations: 99.69 kB / 0.5223 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.1279, allocations: 231 kB / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.1286, allocations: 0.564 MB / 0.5231 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1286, allocations: 0 / 0.5231 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1286, allocations: 0 / 0.5231 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1286, allocations: 0 / 0.5231 GB, free: 0.8359 MB / 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.001237/0.1298, allocations: 0.6921 MB / 0.5238 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1299, allocations: 8.031 kB / 0.5238 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.359e-05/0.1299, allocations: 13.19 kB / 0.5238 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.329e-05/0.13, allocations: 86.7 kB / 0.5239 GB, free: 0 / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1302, allocations: 59.8 kB / 0.5239 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.1307, allocations: 260.7 kB / 0.5242 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.1307, allocations: 37.38 kB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.1308, allocations: 61.03 kB / 0.5243 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.1316, allocations: 438.5 kB / 0.5247 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.1317, allocations: 11.95 kB / 0.5247 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.1317, allocations: 23.94 kB / 0.5247 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1317, allocations: 12 kB / 0.5247 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.1323, allocations: 312.5 kB / 0.525 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.1341, allocations: 1.006 MB / 0.526 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.1348, allocations: 388.8 kB / 0.5264 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.1352, allocations: 190.9 kB / 0.5266 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1352, allocations: 8.438 kB / 0.5266 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1353, allocations: 39 kB / 0.5266 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 3.867e-06/0.1353, allocations: 0 / 0.5266 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003425/0.1387, allocations: 1.856 MB / 0.5284 GB, free: 11.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.1388, allocations: 85.61 kB / 0.5285 GB, free: 11.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.1391, allocations: 252.2 kB / 0.5287 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.1392, allocations: 37.7 kB / 0.5288 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1393, allocations: 217.4 kB / 0.529 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.1396, allocations: 281.6 kB / 0.5293 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.1398, allocations: 118.7 kB / 0.5294 GB, free: 10.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.14, allocations: 358.7 kB / 0.5297 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.1403, allocations: 161.9 kB / 0.5299 GB, free: 9.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1406, allocations: 276.8 kB / 0.5301 GB, free: 9.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.1413, allocations: 470.6 kB / 0.5306 GB, free: 8.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1413, allocations: 0 / 0.5306 GB, free: 8.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009493/0.1423, allocations: 0.5722 MB / 0.5311 GB, free: 8.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1423, allocations: 4 kB / 0.5311 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1423, allocations: 4 kB / 0.5311 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.1424, allocations: 12.03 kB / 0.5312 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.143, allocations: 175.8 kB / 0.5313 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.143, allocations: 11.88 kB / 0.5313 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.1433, allocations: 28.28 kB / 0.5314 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.1433, allocations: 28 kB / 0.5314 GB, free: 7.949 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.0002358/0.1436, allocations: 181.6 kB / 0.5316 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.1437, allocations: 47.72 kB / 0.5316 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.1438, allocations: 59.64 kB / 0.5317 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.1438, allocations: 8 kB / 0.5317 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1438, allocations: 0 / 0.5317 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1438, allocations: 3.984 kB / 0.5317 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.1459, allocations: 1.341 MB / 0.533 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.1459, allocations: 4.062 kB / 0.533 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.1466, allocations: 163.8 kB / 0.5331 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.1466, allocations: 4.344 kB / 0.5331 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.1466, allocations: 20 kB / 0.5332 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.1466, allocations: 11.94 kB / 0.5332 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1467, allocations: 3.938 kB / 0.5332 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.1479, allocations: 0.9129 MB / 0.5341 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.148, allocations: 43.72 kB / 0.5341 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.1481, allocations: 31.86 kB / 0.5341 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.1484, allocations: 19.94 kB / 0.5342 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1485, allocations: 48.34 kB / 0.5342 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.1485, allocations: 24 kB / 0.5342 GB, free: 4.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.1487, allocations: 179.1 kB / 0.5344 GB, free: 4.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 0.5344 GB, free: 4.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.1493, allocations: 144 kB / 0.5345 GB, free: 4.547 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.001605/0.1509, allocations: 1.473 MB / 0.536 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.1517, allocations: 443.8 kB / 0.5364 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1517, allocations: 0 / 0.5364 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.1521, allocations: 222.2 kB / 0.5366 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.153, allocations: 135.1 kB / 0.5367 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/0.3688, allocations: 4.775 MB / 0.5414 GB, free: 26.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3691, allocations: 248.2 kB / 0.5416 GB, free: 26.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.3694, allocations: 58.48 kB / 0.5417 GB, free: 26.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3696, allocations: 169.5 kB / 0.5419 GB, free: 26.88 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3696, allocations: 0 / 0.5419 GB, free: 26.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.4081, allocations: 10.73 MB / 0.5523 GB, free: 25.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.92, allocations: 10.67 kB / 0.5523 GB, free: 25.4 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] 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: 16.343967613065615]