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.001832/0.001832, allocations: 109 kB / 20.48 MB, free: 1.492 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.00226/0.00226, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.498/1.498, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2631/0.2631, allocations: 44.24 MB / 331.1 MB, free: 9.543 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.00346/0.00346, allocations: 78.5 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1366, allocations: 61.03 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004608/0.1412, allocations: 3.307 MB / 0.5201 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1427, allocations: 0.8461 MB / 0.521 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1429, allocations: 15.88 kB / 0.521 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1431, allocations: 75.19 kB / 0.521 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1434, allocations: 178.5 kB / 0.5212 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1437, allocations: 107.8 kB / 0.5213 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.1443, allocations: 0.6027 MB / 0.5219 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.1446, allocations: 121.8 kB / 0.522 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.1449, allocations: 231.2 kB / 0.5222 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.1452, allocations: 246.9 kB / 0.5225 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.1453, allocations: 44 kB / 0.5225 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.553e-05/0.1453, allocations: 48 kB / 0.5226 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.1454, allocations: 99.61 kB / 0.5227 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.1457, allocations: 262.8 kB / 0.5229 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.1463, allocations: 0.564 MB / 0.5235 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1463, allocations: 0 / 0.5235 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1463, allocations: 0 / 0.5235 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1463, allocations: 3.984 kB / 0.5235 GB, free: 0.5977 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.001182/0.1475, allocations: 0.6841 MB / 0.5241 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1476, allocations: 8.031 kB / 0.5241 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.1476, allocations: 13.19 kB / 0.5242 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.301e-05/0.1477, allocations: 90.7 kB / 0.5242 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.1478, allocations: 60.56 kB / 0.5243 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.1482, allocations: 260.7 kB / 0.5245 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.1483, allocations: 41.31 kB / 0.5246 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.1484, allocations: 56.52 kB / 0.5246 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.1491, allocations: 442.5 kB / 0.5251 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.1491, allocations: 11.91 kB / 0.5251 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.1491, allocations: 20 kB / 0.5251 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1491, allocations: 8 kB / 0.5251 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.1497, allocations: 312.5 kB / 0.5254 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1515, allocations: 1.1 MB / 0.5265 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.1522, allocations: 391.8 kB / 0.5268 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.1526, allocations: 190.9 kB / 0.527 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1526, allocations: 4.438 kB / 0.527 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.1526, allocations: 46.94 kB / 0.5271 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.903e-06/0.1526, allocations: 0 / 0.5271 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003215/0.1558, allocations: 1.845 MB / 0.5289 GB, free: 10.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1559, allocations: 85.61 kB / 0.529 GB, free: 10.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1562, allocations: 260.1 kB / 0.5292 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1562, allocations: 41.7 kB / 0.5292 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1564, allocations: 209.4 kB / 0.5294 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.1566, allocations: 281.6 kB / 0.5297 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1568, allocations: 122.6 kB / 0.5298 GB, free: 9.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.157, allocations: 362.7 kB / 0.5302 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1573, allocations: 157.9 kB / 0.5303 GB, free: 9.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.1576, allocations: 278.1 kB / 0.5306 GB, free: 8.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.1583, allocations: 470.6 kB / 0.531 GB, free: 8.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1583, allocations: 0 / 0.531 GB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009041/0.1592, allocations: 0.5748 MB / 0.5316 GB, free: 7.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1592, allocations: 8 kB / 0.5316 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1593, allocations: 0 / 0.5316 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1593, allocations: 8 kB / 0.5316 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.1599, allocations: 179.8 kB / 0.5318 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.1599, allocations: 11.94 kB / 0.5318 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.1602, allocations: 32.2 kB / 0.5318 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.1602, allocations: 24 kB / 0.5319 GB, free: 7.621 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.000219/0.1604, allocations: 177.7 kB / 0.532 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1605, allocations: 47.72 kB / 0.5321 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1607, allocations: 55.64 kB / 0.5321 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1607, allocations: 8 kB / 0.5321 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.1607, allocations: 0 / 0.5321 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1607, allocations: 11.86 kB / 0.5321 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.1627, allocations: 1.404 MB / 0.5335 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1627, allocations: 0 / 0.5335 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.1634, allocations: 163.8 kB / 0.5337 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1634, allocations: 4 kB / 0.5337 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.1634, allocations: 19.94 kB / 0.5337 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.1634, allocations: 11.98 kB / 0.5337 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1635, allocations: 4.281 kB / 0.5337 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.1646, allocations: 0.9206 MB / 0.5346 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.1647, allocations: 51.64 kB / 0.5347 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.1648, allocations: 16 kB / 0.5347 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.165, allocations: 20.06 kB / 0.5347 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.1651, allocations: 56.34 kB / 0.5347 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.1651, allocations: 23.94 kB / 0.5348 GB, free: 4.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.1653, allocations: 183.1 kB / 0.5349 GB, free: 4.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1653, allocations: 0 / 0.5349 GB, free: 4.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.1659, allocations: 140 kB / 0.5351 GB, free: 4.148 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.001579/0.1674, allocations: 1.469 MB / 0.5365 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007652/0.1682, allocations: 440 kB / 0.5369 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1682, allocations: 0 / 0.5369 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.1685, allocations: 226.2 kB / 0.5371 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.1694, allocations: 135 kB / 0.5373 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2467/0.4161, allocations: 4.775 MB / 0.5419 GB, free: 26.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4165, allocations: 0.8526 MB / 0.5428 GB, free: 26.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.4168, allocations: 55.5 kB / 0.5428 GB, free: 26.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.4171, allocations: 171.3 kB / 0.543 GB, free: 26.03 MB / 414.1 MB Notification: Performance of SimCode: time 2.134e-06/0.4171, allocations: 0 / 0.543 GB, free: 26.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/0.4651, allocations: 10.57 MB / 0.5533 GB, free: 24.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.7, allocations: 12.34 kB / 0.5533 GB, free: 24.79 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.066201847046614]