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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 113.1 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3594/0.3594, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3489, allocations: 60.8 MB / 0.5064 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002633/0.3516, allocations: 1.716 MB / 0.5081 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002358/0.3518, allocations: 112.8 kB / 0.5082 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.3519, allocations: 0 / 0.5082 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.495e-05/0.352, allocations: 9.875 kB / 0.5082 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3521, allocations: 32.2 kB / 0.5082 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.3522, allocations: 17.77 kB / 0.5082 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3523, allocations: 122.6 kB / 0.5083 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3525, allocations: 31.3 kB / 0.5084 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.3526, allocations: 50.45 kB / 0.5084 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.3527, allocations: 45.97 kB / 0.5085 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3527, allocations: 5.781 kB / 0.5085 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.3527, allocations: 5.719 kB / 0.5085 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.3528, allocations: 24.89 kB / 0.5085 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3528, allocations: 52.89 kB / 0.5086 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.3529, allocations: 115.5 kB / 0.5087 GB, free: 36.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3529, allocations: 7.281 kB / 0.5087 GB, free: 36.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.353, allocations: 0 / 0.5087 GB, free: 36.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.353, allocations: 3.938 kB / 0.5087 GB, free: 36.59 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.0004177/0.3534, allocations: 399.1 kB / 0.5091 GB, free: 36.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3534, allocations: 11.88 kB / 0.5091 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3535, allocations: 13.59 kB / 0.5091 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3536, allocations: 199.4 kB / 0.5093 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3536, allocations: 7.266 kB / 0.5093 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.3537, allocations: 17.19 kB / 0.5093 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3539, allocations: 136.4 kB / 0.5094 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3539, allocations: 4.094 kB / 0.5094 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3539, allocations: 11.64 kB / 0.5094 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.354, allocations: 2.969 kB / 0.5094 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3541, allocations: 49.91 kB / 0.5095 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.3547, allocations: 0.5463 MB / 0.51 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.3548, allocations: 91.88 kB / 0.5101 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.3549, allocations: 32.34 kB / 0.5101 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.3549, allocations: 3.938 kB / 0.5101 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.3549, allocations: 30.56 kB / 0.5102 GB, free: 35.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.3549, allocations: 2.844 kB / 0.5102 GB, free: 35.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004861/0.3554, allocations: 304.8 kB / 0.5105 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3554, allocations: 87.42 kB / 0.5105 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.3555, allocations: 114.5 kB / 0.5107 GB, free: 34.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.3555, allocations: 32.48 kB / 0.5107 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.3556, allocations: 120.4 kB / 0.5108 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3556, allocations: 33.69 kB / 0.5108 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.3556, allocations: 26.44 kB / 0.5109 GB, free: 34.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.3557, allocations: 328.9 kB / 0.5112 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.3557, allocations: 22.95 kB / 0.5112 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.3558, allocations: 85.06 kB / 0.5113 GB, free: 34.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.3559, allocations: 119.5 kB / 0.5114 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3559, allocations: 4 kB / 0.5114 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002109/0.3561, allocations: 170.5 kB / 0.5116 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3561, allocations: 6 kB / 0.5116 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3561, allocations: 6.875 kB / 0.5116 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.3563, allocations: 43.94 kB / 0.5116 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.3564, allocations: 26.72 kB / 0.5116 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3575, allocations: 2.543 MB / 0.5141 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.3576, allocations: 10.94 kB / 0.5141 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3576, allocations: 13.38 kB / 0.5141 GB, free: 31.26 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 6.759e-05/0.3577, allocations: 126.6 kB / 0.5143 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.3577, allocations: 10.62 kB / 0.5143 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.3578, allocations: 10.84 kB / 0.5143 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3578, allocations: 0 / 0.5143 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3578, allocations: 3.031 kB / 0.5143 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3578, allocations: 3.422 kB / 0.5143 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.358, allocations: 197.5 kB / 0.5145 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.358, allocations: 4 kB / 0.5145 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.3581, allocations: 17.88 kB / 0.5145 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-05/0.3582, allocations: 37.73 kB / 0.5145 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3582, allocations: 0 / 0.5145 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.3592, allocations: 2.539 MB / 0.517 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3592, allocations: 3.938 kB / 0.517 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3614, allocations: 4.061 MB / 0.521 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3614, allocations: 86.81 kB / 0.5211 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.3614, allocations: 2.406 kB / 0.5211 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.3615, allocations: 0 / 0.5211 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.3615, allocations: 17.19 kB / 0.5211 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3616, allocations: 0 / 0.5211 GB, free: 24.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.3616, allocations: 93.19 kB / 0.5212 GB, free: 24.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3616, allocations: 0 / 0.5212 GB, free: 24.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000421/0.362, allocations: 52.5 kB / 0.5212 GB, free: 24.05 MB / 378.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.128e-05/0.3621, allocations: 100.9 kB / 0.5213 GB, free: 23.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.3625, allocations: 304.1 kB / 0.5216 GB, free: 23.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3625, allocations: 0 / 0.5216 GB, free: 23.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3627, allocations: 260.4 kB / 0.5219 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3631, allocations: 33.48 kB / 0.5219 GB, free: 23.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.364, allocations: 0.8675 MB / 0.5227 GB, free: 22.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3641, allocations: 0.7086 MB / 0.5234 GB, free: 21.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.3642, allocations: 14.98 kB / 0.5234 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.3642, allocations: 13.03 kB / 0.5235 GB, free: 21.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3642, allocations: 0 / 0.5235 GB, free: 21.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004165/0.3684, allocations: 1.898 MB / 0.5253 GB, free: 21.82 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches