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.001488/0.001488, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001516/0.001516, allocations: 216.6 kB / 22.99 MB, free: 4.977 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.497/1.497, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2313/0.2313, allocations: 44.27 MB / 330.3 MB, free: 9.312 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.002612/0.002612, allocations: 70.23 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1187, allocations: 61.04 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00462/0.1233, allocations: 2.986 MB / 0.5191 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1249, allocations: 0.8266 MB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.1252, allocations: 11.94 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.1254, allocations: 71.19 kB / 0.5199 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.1258, allocations: 182.5 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1261, allocations: 107.9 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007076/0.1268, allocations: 0.5949 MB / 0.5208 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.127, allocations: 121.8 kB / 0.5209 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.1274, allocations: 227.2 kB / 0.5211 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.1278, allocations: 218.9 kB / 0.5213 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.577e-05/0.1278, allocations: 40 kB / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1279, allocations: 44 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1281, allocations: 107.6 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.1283, allocations: 223 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.129, allocations: 0.5602 MB / 0.5223 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.129, allocations: 4 kB / 0.5223 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.129, allocations: 0 / 0.5223 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.129, allocations: 0 / 0.5223 GB, free: 0.8438 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.00124/0.1302, allocations: 0.6921 MB / 0.523 GB, free: 124 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1303, allocations: 8.031 kB / 0.523 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.1304, allocations: 90.66 kB / 0.5231 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.1305, allocations: 63.97 kB / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.131, allocations: 252.8 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.131, allocations: 37.38 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.1311, allocations: 56.33 kB / 0.5235 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.1318, allocations: 439.3 kB / 0.5239 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.1319, allocations: 11.91 kB / 0.5239 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.1319, allocations: 23.94 kB / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1319, allocations: 12 kB / 0.5239 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.1325, allocations: 316.4 kB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1343, allocations: 0.9946 MB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/0.1351, allocations: 384.8 kB / 0.5256 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.1354, allocations: 198.9 kB / 0.5257 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1355, allocations: 8.438 kB / 0.5258 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1355, allocations: 42.94 kB / 0.5258 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.565e-06/0.1355, allocations: 4.031 kB / 0.5258 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003248/0.1387, allocations: 1.845 MB / 0.5276 GB, free: 11.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1388, allocations: 85.61 kB / 0.5277 GB, free: 11.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1391, allocations: 260.1 kB / 0.5279 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.1391, allocations: 37.7 kB / 0.528 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1393, allocations: 217.4 kB / 0.5282 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.1395, allocations: 281.5 kB / 0.5284 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.1397, allocations: 126.6 kB / 0.5286 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1399, allocations: 350.7 kB / 0.5289 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.1402, allocations: 165.9 kB / 0.5291 GB, free: 9.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.1406, allocations: 272.9 kB / 0.5293 GB, free: 9.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.1413, allocations: 471.8 kB / 0.5298 GB, free: 8.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1413, allocations: 0 / 0.5298 GB, free: 8.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009259/0.1422, allocations: 0.5594 MB / 0.5303 GB, free: 8.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1423, allocations: 8.281 kB / 0.5303 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1423, allocations: 12 kB / 0.5303 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1423, allocations: 8 kB / 0.5303 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.1429, allocations: 187.7 kB / 0.5305 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.1429, allocations: 4 kB / 0.5305 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.1432, allocations: 27.98 kB / 0.5305 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.1432, allocations: 28 kB / 0.5306 GB, free: 7.977 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.0002064/0.1434, allocations: 177.6 kB / 0.5307 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.1435, allocations: 47.72 kB / 0.5308 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.1436, allocations: 63.64 kB / 0.5308 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.1436, allocations: 8 kB / 0.5309 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1437, allocations: 0 / 0.5309 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1437, allocations: 3.984 kB / 0.5309 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.1458, allocations: 1.353 MB / 0.5322 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1458, allocations: 0 / 0.5322 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.1465, allocations: 155.8 kB / 0.5323 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.1465, allocations: 4 kB / 0.5323 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.1465, allocations: 27.92 kB / 0.5324 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.1465, allocations: 15.88 kB / 0.5324 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1465, allocations: 0 / 0.5324 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1478, allocations: 0.9092 MB / 0.5333 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.1479, allocations: 47.7 kB / 0.5333 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.1479, allocations: 23.94 kB / 0.5333 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.1482, allocations: 16 kB / 0.5333 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.1483, allocations: 48.28 kB / 0.5334 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.1483, allocations: 28 kB / 0.5334 GB, free: 4.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1485, allocations: 179.1 kB / 0.5336 GB, free: 4.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1485, allocations: 0 / 0.5336 GB, free: 4.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.1491, allocations: 148 kB / 0.5337 GB, free: 4.57 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.00162/0.1507, allocations: 1.477 MB / 0.5352 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.1515, allocations: 431.8 kB / 0.5356 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1515, allocations: 0 / 0.5356 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.1518, allocations: 219.5 kB / 0.5358 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.1527, allocations: 137.7 kB / 0.5359 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1981/0.3508, allocations: 4.784 MB / 0.5406 GB, free: 26.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.351, allocations: 248.1 kB / 0.5408 GB, free: 26.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.3512, allocations: 57.02 kB / 0.5409 GB, free: 26.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3514, allocations: 164.4 kB / 0.541 GB, free: 26.8 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3514, allocations: 0 / 0.541 GB, free: 26.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.3932, allocations: 10.89 MB / 0.5517 GB, free: 24.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 4.891 kB / 0.5517 GB, free: 24.98 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.194501325953752]