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.001392/0.001392, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001756/0.001756, allocations: 225.3 kB / 23.01 MB, free: 5.039 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.471/1.471, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.2243/0.2243, allocations: 44.23 MB / 330.3 MB, free: 9.621 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: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",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.002463/0.002463, allocations: 83.81 kB / 467.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1126, allocations: 61.03 MB / 0.5161 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005022/0.1176, allocations: 3.309 MB / 0.5194 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1193, allocations: 0.8422 MB / 0.5202 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.1197, allocations: 19.88 kB / 0.5202 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.12, allocations: 75.23 kB / 0.5203 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.1204, allocations: 174.5 kB / 0.5204 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1207, allocations: 107.9 kB / 0.5205 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.1215, allocations: 0.6065 MB / 0.5211 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.1218, allocations: 121.8 kB / 0.5213 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.1222, allocations: 231.3 kB / 0.5215 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.1226, allocations: 242.9 kB / 0.5217 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.113e-05/0.1227, allocations: 44 kB / 0.5217 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1228, allocations: 44 kB / 0.5218 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.1229, allocations: 99.61 kB / 0.5219 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.1232, allocations: 266.7 kB / 0.5221 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.1239, allocations: 0.5602 MB / 0.5227 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1239, allocations: 0 / 0.5227 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1239, allocations: 4 kB / 0.5227 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.1239, allocations: 0 / 0.5227 GB, free: 0.6211 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.001234/0.1251, allocations: 0.6843 MB / 0.5234 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1252, allocations: 15.97 kB / 0.5234 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1253, allocations: 90.7 kB / 0.5235 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1254, allocations: 60.56 kB / 0.5235 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.126, allocations: 260.7 kB / 0.5238 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.126, allocations: 33.38 kB / 0.5238 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.1261, allocations: 64.3 kB / 0.5239 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.1268, allocations: 434.8 kB / 0.5243 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.1268, allocations: 11.94 kB / 0.5243 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.1269, allocations: 24 kB / 0.5243 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1269, allocations: 12 kB / 0.5243 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.1274, allocations: 320.4 kB / 0.5246 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1293, allocations: 1.084 MB / 0.5257 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.13, allocations: 395.8 kB / 0.5261 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.1303, allocations: 194.9 kB / 0.5262 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1304, allocations: 4.438 kB / 0.5263 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.1304, allocations: 50.88 kB / 0.5263 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.565e-06/0.1304, allocations: 4.031 kB / 0.5263 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003047/0.1335, allocations: 1.845 MB / 0.5281 GB, free: 10.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.1335, allocations: 93.53 kB / 0.5282 GB, free: 10.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.1339, allocations: 252.2 kB / 0.5284 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1339, allocations: 41.7 kB / 0.5285 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1341, allocations: 213.4 kB / 0.5287 GB, free: 10.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.1343, allocations: 277.6 kB / 0.5289 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.1345, allocations: 118.7 kB / 0.5291 GB, free: 9.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1347, allocations: 366.7 kB / 0.5294 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1349, allocations: 153.9 kB / 0.5296 GB, free: 9.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.1353, allocations: 272.9 kB / 0.5298 GB, free: 8.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.136, allocations: 474.6 kB / 0.5303 GB, free: 8.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.136, allocations: 0 / 0.5303 GB, free: 8.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009235/0.1369, allocations: 0.5683 MB / 0.5308 GB, free: 7.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.137, allocations: 8 kB / 0.5308 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.137, allocations: 4 kB / 0.5308 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.137, allocations: 4.281 kB / 0.5308 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.1376, allocations: 179.7 kB / 0.531 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.1376, allocations: 11.98 kB / 0.531 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.1379, allocations: 31.88 kB / 0.531 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.1379, allocations: 24 kB / 0.5311 GB, free: 7.652 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.0002298/0.1382, allocations: 185.6 kB / 0.5312 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1383, allocations: 43.72 kB / 0.5313 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1384, allocations: 59.64 kB / 0.5313 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1384, allocations: 8 kB / 0.5314 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1384, allocations: 0 / 0.5314 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.1384, allocations: 11.92 kB / 0.5314 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.1405, allocations: 1.392 MB / 0.5327 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.1405, allocations: 4 kB / 0.5327 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/0.1411, allocations: 160.1 kB / 0.5329 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/0.1411, allocations: 12 kB / 0.5329 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.1412, allocations: 20 kB / 0.5329 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-06/0.1412, allocations: 11.94 kB / 0.5329 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1412, allocations: 4 kB / 0.5329 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.1424, allocations: 0.913 MB / 0.5338 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.1425, allocations: 47.66 kB / 0.5339 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.1426, allocations: 20 kB / 0.5339 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1429, allocations: 19.98 kB / 0.5339 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.1429, allocations: 48.3 kB / 0.5339 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.143, allocations: 27.92 kB / 0.534 GB, free: 4.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1432, allocations: 183.1 kB / 0.5342 GB, free: 4.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1432, allocations: 4 kB / 0.5342 GB, free: 4.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000536/0.1437, allocations: 144 kB / 0.5343 GB, free: 4.18 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.001566/0.1453, allocations: 1.473 MB / 0.5357 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000758/0.146, allocations: 431.8 kB / 0.5361 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.146, allocations: 3.938 kB / 0.5361 GB, free: 2.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.1464, allocations: 223.1 kB / 0.5364 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.1473, allocations: 137.9 kB / 0.5365 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2074/0.3547, allocations: 4.782 MB / 0.5412 GB, free: 26.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3552, allocations: 0.8483 MB / 0.542 GB, free: 25.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.3554, allocations: 56.52 kB / 0.542 GB, free: 25.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3556, allocations: 166.4 kB / 0.5422 GB, free: 25.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.803e-06/0.3556, allocations: 1.5 kB / 0.5422 GB, free: 25.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04773/0.4034, allocations: 10.55 MB / 0.5525 GB, free: 24.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.11, allocations: 2.141 kB / 0.5525 GB, free: 24.7 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.174618799937889]