Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 105 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3065/0.3065, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009879/0.000988, allocations: 51.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1207, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002777/0.1235, allocations: 1.707 MB / 488.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000248/0.1238, allocations: 111.6 kB / 488.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.1239, allocations: 4 kB / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.367e-05/0.1239, allocations: 7.922 kB / 488.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1241, allocations: 27.77 kB / 488.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.1242, allocations: 39.91 kB / 488.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1243, allocations: 119.4 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1245, allocations: 33.09 kB / 489.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.1246, allocations: 43.8 kB / 489.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.313e-05/0.1247, allocations: 47.78 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1247, allocations: 12 kB / 489.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.1247, allocations: 8 kB / 489.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.1247, allocations: 19.92 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.1248, allocations: 55.72 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.125, allocations: 115.9 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.125, allocations: 4 kB / 489.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.125, allocations: 0 / 489.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.125, allocations: 0 / 489.4 MB, free: 10.19 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004957/0.1255, allocations: 407.3 kB / 489.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1255, allocations: 12.03 kB / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.1256, allocations: 12.84 kB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1257, allocations: 204.1 kB / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1258, allocations: 8.609 kB / 490 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1258, allocations: 12.38 kB / 490 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.126, allocations: 125.5 kB / 490.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.126, allocations: 4.188 kB / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.126, allocations: 7.938 kB / 490.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1261, allocations: 4 kB / 490.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1262, allocations: 71.89 kB / 490.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.1268, allocations: 0.5371 MB / 490.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.127, allocations: 89.16 kB / 490.8 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.127, allocations: 25.72 kB / 490.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1271, allocations: 3.938 kB / 490.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1271, allocations: 42.64 kB / 490.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1271, allocations: 0 / 490.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005338/0.1276, allocations: 301.3 kB / 491.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1277, allocations: 77.11 kB / 491.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.1278, allocations: 125.8 kB / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1278, allocations: 29.7 kB / 491.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.1279, allocations: 119.6 kB / 491.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1279, allocations: 35.45 kB / 491.6 MB, free: 7.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.128, allocations: 33.72 kB / 491.6 MB, free: 7.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1281, allocations: 318.8 kB / 491.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.1281, allocations: 23.98 kB / 491.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.1282, allocations: 88.58 kB / 492 MB, free: 7.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1283, allocations: 124.8 kB / 492.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1283, allocations: 3.938 kB / 492.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002353/0.1285, allocations: 167.3 kB / 492.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1286, allocations: 8 kB / 492.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1286, allocations: 4 kB / 492.3 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.1287, allocations: 41.58 kB / 492.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.1288, allocations: 23.98 kB / 492.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.1304, allocations: 2.544 MB / 494.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.1304, allocations: 11.84 kB / 494.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1304, allocations: 4 kB / 494.9 MB, free: 3.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.1305, allocations: 133.7 kB / 495.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.1306, allocations: 4 kB / 495.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.1306, allocations: 19.92 kB / 495.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1306, allocations: 4 kB / 495.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1306, allocations: 0 / 495.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1306, allocations: 96 / 495.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1309, allocations: 213.5 kB / 495.3 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1309, allocations: 0 / 495.3 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.131, allocations: 12 kB / 495.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.483e-05/0.131, allocations: 33.7 kB / 495.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1311, allocations: 4 kB / 495.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.1324, allocations: 2.536 MB / 497.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1325, allocations: 4.031 kB / 497.9 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.1352, allocations: 4.05 MB / 0.4902 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.1353, allocations: 93.05 kB / 0.4903 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1353, allocations: 8 kB / 0.4903 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1354, allocations: 64 / 0.4903 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1354, allocations: 11.94 kB / 0.4903 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1354, allocations: 8.078 kB / 0.4903 GB, free: 12.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.624e-05/0.1355, allocations: 91.28 kB / 0.4904 GB, free: 11.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1355, allocations: 0 / 0.4904 GB, free: 11.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.1359, allocations: 47.91 kB / 0.4904 GB, free: 11.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.573e-05/0.136, allocations: 111.1 kB / 0.4905 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.1364, allocations: 305.2 kB / 0.4908 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1364, allocations: 0 / 0.4908 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1366, allocations: 253.9 kB / 0.4911 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1371, allocations: 27.91 kB / 0.4911 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.138, allocations: 0.8838 MB / 0.492 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1383, allocations: 0.7085 MB / 0.4927 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.545e-05/0.1383, allocations: 12.81 kB / 0.4927 GB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.1383, allocations: 11.44 kB / 0.4927 GB, free: 9.449 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1383, allocations: 0 / 0.4927 GB, free: 9.449 MB / 394.7 MB Notification: Performance of Templates: time 0.003746/0.1421, allocations: 1.895 MB / 0.4945 GB, free: 7.555 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches