Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008557, allocations: 94.98 kB / 18 MB, free: 5.734 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.001015/0.001015, allocations: 177.6 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 243 MB, free: 14.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1989/0.1989, allocations: 44.25 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003539, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002092/0.126, allocations: 1.358 MB / 474.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.1264, allocations: 111.6 kB / 474.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1265, allocations: 4 kB / 474.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.1266, allocations: 11.92 kB / 474.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1268, allocations: 31.75 kB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.1269, allocations: 23.97 kB / 474.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1271, allocations: 123.4 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1273, allocations: 24.98 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.1274, allocations: 47.78 kB / 474.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.1275, allocations: 47.78 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1275, allocations: 4 kB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.289e-05/0.1275, allocations: 8 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.1276, allocations: 19.92 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1277, allocations: 85.42 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1278, allocations: 80.05 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1278, allocations: 3.938 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1278, allocations: 0 / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1278, allocations: 0 / 474.9 MB, free: 11.33 MB / 350.1 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.0005303/0.1284, allocations: 391.4 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1284, allocations: 8.031 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1285, allocations: 12.84 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1287, allocations: 200.1 kB / 475.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1288, allocations: 8.609 kB / 475.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.1288, allocations: 12.38 kB / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.1291, allocations: 133.5 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1291, allocations: 8.094 kB / 475.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1291, allocations: 7.938 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1291, allocations: 4 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1292, allocations: 55.95 kB / 475.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.1301, allocations: 0.5372 MB / 476.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1302, allocations: 93.22 kB / 476.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.1303, allocations: 21.72 kB / 476.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1303, allocations: 15.81 kB / 476.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1303, allocations: 30.56 kB / 476.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.1304, allocations: 0 / 476.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006182/0.131, allocations: 309.5 kB / 476.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.131, allocations: 77.11 kB / 476.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1312, allocations: 117.8 kB / 476.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1312, allocations: 25.7 kB / 476.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.1313, allocations: 123.6 kB / 477 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1313, allocations: 31.56 kB / 477.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1313, allocations: 21.7 kB / 477.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1315, allocations: 326.8 kB / 477.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.1315, allocations: 23.94 kB / 477.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.1316, allocations: 80.58 kB / 477.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1318, allocations: 132.8 kB / 477.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1318, allocations: 0 / 477.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002808/0.1321, allocations: 167 kB / 477.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1321, allocations: 7.938 kB / 477.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1321, allocations: 4 kB / 477.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.1323, allocations: 45.89 kB / 477.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1324, allocations: 23.92 kB / 477.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.1344, allocations: 2.536 MB / 480.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.1345, allocations: 23.78 kB / 480.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1345, allocations: 4 kB / 480.5 MB, free: 5.121 MB / 350.1 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 0.0001216/0.1346, allocations: 125.8 kB / 480.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1347, allocations: 4 kB / 480.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.1347, allocations: 11.91 kB / 480.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1347, allocations: 192 / 480.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1347, allocations: 4 kB / 480.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1348, allocations: 7.969 kB / 480.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.135, allocations: 209.4 kB / 480.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.135, allocations: 0 / 480.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.1351, allocations: 15.98 kB / 480.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.1352, allocations: 41.64 kB / 480.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1353, allocations: 0 / 480.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.137, allocations: 2.529 MB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.137, allocations: 0 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1373, allocations: 308.4 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.1374, allocations: 85.02 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1375, allocations: 8 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.1376, allocations: 4 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1376, allocations: 11.97 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1376, allocations: 3.938 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.1377, allocations: 103.6 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1377, allocations: 0 / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.138, allocations: 35.94 kB / 483.9 MB, free: 1.258 MB / 350.1 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 0.000131/0.1382, allocations: 107.2 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1386, allocations: 305.1 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1386, allocations: 4.5 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.1389, allocations: 257.6 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.1394, allocations: 23.98 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.1403, allocations: 0.5918 MB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1406, allocations: 0.7122 MB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.1406, allocations: 11.44 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1406, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Templates: time 0.004869/0.1455, allocations: 2.419 MB / 488.4 MB, free: 12.71 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches