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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 112.7 kB / 17.04 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.67 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09185, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005061/0.09695, allocations: 5.752 MB / 447.7 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.1003, allocations: 2.326 MB / 450 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.1008, allocations: 47.75 kB / 450.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.1013, allocations: 230 kB / 450.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1016, allocations: 178.2 kB / 450.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.1025, allocations: 451 kB / 450.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009218/0.1034, allocations: 1.122 MB / 452.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007324/0.1042, allocations: 0.6185 MB / 452.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.1045, allocations: 362.7 kB / 453 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.1049, allocations: 394 kB / 453.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.105, allocations: 96 kB / 453.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1052, allocations: 151.9 kB / 453.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1054, allocations: 215.3 kB / 453.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.1058, allocations: 477.6 kB / 454.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009757/0.1068, allocations: 1.25 MB / 455.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1068, allocations: 0 / 455.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1068, allocations: 3.938 kB / 455.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1068, allocations: 0 / 455.6 MB, free: 8.469 MB / 334.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.001362/0.1082, allocations: 1.131 MB / 456.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1082, allocations: 11.89 kB / 456.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1083, allocations: 103.7 kB / 456.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.1092, allocations: 0.5981 MB / 457.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.1093, allocations: 69.94 kB / 457.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1094, allocations: 96 kB / 457.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1107, allocations: 0.8853 MB / 458.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.1107, allocations: 7.844 kB / 458.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.1108, allocations: 44 kB / 458.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.1108, allocations: 20 kB / 458.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.1118, allocations: 0.5229 MB / 459.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.1158, allocations: 3.604 MB / 462.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007913/0.1166, allocations: 228 kB / 462.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.1169, allocations: 104.8 kB / 463 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.1171, allocations: 247.3 kB / 463.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1172, allocations: 39.06 kB / 463.3 MB, free: 400 kB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.1172, allocations: 4 kB / 463.3 MB, free: 396 kB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.003397/0.1206, allocations: 1.279 MB / 464.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1207, allocations: 63.34 kB / 464.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.1213, allocations: 401.8 kB / 465 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1213, allocations: 29.7 kB / 465 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.1218, allocations: 474 kB / 465.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.1219, allocations: 134.1 kB / 465.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.1221, allocations: 102.2 kB / 465.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1223, allocations: 358.8 kB / 466.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.1226, allocations: 113.1 kB / 466.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.1232, allocations: 310.2 kB / 466.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/0.1241, allocations: 456.5 kB / 466.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1241, allocations: 4 kB / 466.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001238/0.1253, allocations: 0.5165 MB / 467.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1254, allocations: 8 kB / 467.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1254, allocations: 7.984 kB / 467.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.1256, allocations: 40.84 kB / 467.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.1263, allocations: 127.8 kB / 467.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005303/0.1268, allocations: 0.5566 MB / 468.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.1272, allocations: 23.94 kB / 468.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.1273, allocations: 27.98 kB / 468.3 MB, free: 11.06 MB / 350.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.000414/0.1277, allocations: 229.6 kB / 468.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1278, allocations: 63.3 kB / 468.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/0.1287, allocations: 327.4 kB / 468.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.1288, allocations: 4 kB / 468.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1288, allocations: 0 / 468.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1288, allocations: 7.984 kB / 468.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.131, allocations: 1.046 MB / 469.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.131, allocations: 4 kB / 469.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.1316, allocations: 83.83 kB / 470 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.1318, allocations: 36.72 kB / 470 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.1318, allocations: 16 kB / 470.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004316/0.1323, allocations: 0.5448 MB / 470.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1323, allocations: 0 / 470.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1334, allocations: 0.5641 MB / 471.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1336, allocations: 116.5 kB / 471.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.1336, allocations: 8 kB / 471.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1339, allocations: 8 kB / 471.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.134, allocations: 31.94 kB / 471.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1341, allocations: 15.98 kB / 471.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004315/0.1345, allocations: 267.2 kB / 471.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1345, allocations: 4 kB / 471.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008477/0.1354, allocations: 128 kB / 471.7 MB, free: 7.402 MB / 350.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.0001926/0.1356, allocations: 107.2 kB / 471.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009422/0.1365, allocations: 336.6 kB / 472.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.1365, allocations: 4 kB / 472.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.137, allocations: 139.8 kB / 472.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.1378, allocations: 71.53 kB / 472.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.1413, allocations: 1.606 MB / 474 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.1421, allocations: 0.9561 MB / 474.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.1423, allocations: 60.53 kB / 475 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1425, allocations: 43.44 kB / 475 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1425, allocations: 0 / 475 MB, free: 4.008 MB / 350.1 MB Notification: Performance of Templates: time 0.0144/0.1569, allocations: 4.138 MB / 479.2 MB, free: 15.89 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) 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) Reference file matches