Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.002174/0.002174, allocations: 114.5 kB / 19.69 MB, free: 2.188 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.002347/0.002347, allocations: 216 kB / 23 MB, free: 5.004 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.444/1.444, allocations: 207.6 MB / 233.8 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.284/0.284, allocations: 44.23 MB / 330.3 MB, free: 9.539 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.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",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.002512/0.002512, allocations: 80.91 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.118, allocations: 61.04 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00826/0.1263, allocations: 5.817 MB / 0.5218 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.1307, allocations: 2.365 MB / 0.5241 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.1316, allocations: 55.56 kB / 0.5242 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.1322, allocations: 226 kB / 0.5244 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.1328, allocations: 190.2 kB / 0.5246 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1341, allocations: 482.6 kB / 0.525 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1357, allocations: 1.107 MB / 0.5261 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008677/0.1366, allocations: 422 kB / 0.5265 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.1372, allocations: 382.7 kB / 0.5269 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.1379, allocations: 394.1 kB / 0.5273 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.1381, allocations: 96 kB / 0.5273 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.1385, allocations: 151.9 kB / 0.5275 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.1388, allocations: 215.3 kB / 0.5277 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.1394, allocations: 477.6 kB / 0.5282 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.141, allocations: 1.276 MB / 0.5294 GB, free: 9.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.141, allocations: 0 / 0.5294 GB, free: 9.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.141, allocations: 0 / 0.5294 GB, free: 9.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.278e-05/0.141, allocations: 4 kB / 0.5294 GB, free: 9.676 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002122/0.1431, allocations: 1.077 MB / 0.5305 GB, free: 8.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1432, allocations: 12.03 kB / 0.5305 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.1434, allocations: 139.9 kB / 0.5306 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1436, allocations: 108.3 kB / 0.5307 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1448, allocations: 0.5223 MB / 0.5312 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.1448, allocations: 74 kB / 0.5313 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.145, allocations: 91.95 kB / 0.5314 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.1466, allocations: 0.8853 MB / 0.5322 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.1467, allocations: 4 kB / 0.5322 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.1468, allocations: 40 kB / 0.5323 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.1468, allocations: 20 kB / 0.5323 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1478, allocations: 0.5307 MB / 0.5328 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.1518, allocations: 3.509 MB / 0.5362 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.1524, allocations: 206.6 kB / 0.5364 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.1526, allocations: 92.83 kB / 0.5365 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.1527, allocations: 19.98 kB / 0.5365 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.1527, allocations: 38.5 kB / 0.5366 GB, free: 2.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.1527, allocations: 0 / 0.5366 GB, free: 2.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002422/0.1551, allocations: 1.166 MB / 0.5377 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.1552, allocations: 63.33 kB / 0.5378 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.1556, allocations: 401.9 kB / 0.5382 GB, free: 340 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1557, allocations: 29.7 kB / 0.5382 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1868/0.3424, allocations: 475.5 kB / 0.5386 GB, free: 28.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.3426, allocations: 144.2 kB / 0.5388 GB, free: 28.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3428, allocations: 99.88 kB / 0.5389 GB, free: 28.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3429, allocations: 363.9 kB / 0.5392 GB, free: 27.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.3431, allocations: 114.6 kB / 0.5393 GB, free: 27.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.3434, allocations: 306.2 kB / 0.5396 GB, free: 27.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.3439, allocations: 450.8 kB / 0.5401 GB, free: 27.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3439, allocations: 2.188 kB / 0.5401 GB, free: 27.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007848/0.3447, allocations: 0.517 MB / 0.5406 GB, free: 27.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3447, allocations: 7.938 kB / 0.5406 GB, free: 27.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3447, allocations: 7.156 kB / 0.5406 GB, free: 27.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.3449, allocations: 39.91 kB / 0.5406 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.3453, allocations: 134.3 kB / 0.5407 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002641/0.3455, allocations: 0.558 MB / 0.5413 GB, free: 26.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3458, allocations: 15.47 kB / 0.5413 GB, free: 26.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.3458, allocations: 29.67 kB / 0.5413 GB, free: 26.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.3461, allocations: 230.5 kB / 0.5416 GB, free: 26.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3461, allocations: 49.98 kB / 0.5416 GB, free: 26.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.3467, allocations: 328.5 kB / 0.5419 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3467, allocations: 4.25 kB / 0.5419 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3467, allocations: 1.125 kB / 0.5419 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3467, allocations: 2.016 kB / 0.5419 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.3482, allocations: 1.022 MB / 0.5429 GB, free: 26.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3482, allocations: 5.281 kB / 0.5429 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3485, allocations: 78.05 kB / 0.543 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.3487, allocations: 36.31 kB / 0.543 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3487, allocations: 9.75 kB / 0.543 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002109/0.3489, allocations: 0.5462 MB / 0.5436 GB, free: 25.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3489, allocations: 4.844 kB / 0.5436 GB, free: 25.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.3496, allocations: 0.5647 MB / 0.5441 GB, free: 25.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.3496, allocations: 44.39 kB / 0.5442 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3497, allocations: 7.438 kB / 0.5442 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3498, allocations: 8.734 kB / 0.5442 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3499, allocations: 33.84 kB / 0.5442 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3499, allocations: 15.27 kB / 0.5442 GB, free: 25.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.3502, allocations: 265 kB / 0.5445 GB, free: 25.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 1.375 kB / 0.5445 GB, free: 25.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3507, allocations: 131.1 kB / 0.5446 GB, free: 25.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009163/0.3517, allocations: 1.116 MB / 0.5457 GB, free: 24.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.3523, allocations: 316.1 kB / 0.546 GB, free: 24.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3523, allocations: 1.719 kB / 0.546 GB, free: 24.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.3525, allocations: 135.4 kB / 0.5461 GB, free: 24.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.3531, allocations: 81.14 kB / 0.5462 GB, free: 24.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.3588, allocations: 4.851 MB / 0.551 GB, free: 21.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.3593, allocations: 0.9529 MB / 0.5519 GB, free: 20.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.3596, allocations: 64.84 kB / 0.5519 GB, free: 20.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.3599, allocations: 297 kB / 0.5522 GB, free: 20.07 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3599, allocations: 0 / 0.5522 GB, free: 20.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.4034, allocations: 9.844 MB / 0.5618 GB, free: 18.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.65, allocations: 9 kB / 0.5618 GB, free: 18.26 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.623781070113182]