Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 104.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3696/0.3696, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.83 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4086, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002936/0.4116, allocations: 1.915 MB / 0.517 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.4119, allocations: 149.6 kB / 0.5172 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.412, allocations: 2.938 kB / 0.5172 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.412, allocations: 14.22 kB / 0.5172 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.4122, allocations: 44.8 kB / 0.5172 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.4123, allocations: 31.92 kB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.4125, allocations: 183.2 kB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.4126, allocations: 48.59 kB / 0.5175 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.4127, allocations: 65.16 kB / 0.5175 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4128, allocations: 78.66 kB / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.4129, allocations: 8.469 kB / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.4129, allocations: 11.66 kB / 0.5176 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.4129, allocations: 25.94 kB / 0.5177 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.413, allocations: 76.7 kB / 0.5177 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.4132, allocations: 176.8 kB / 0.5179 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4132, allocations: 4 kB / 0.5179 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4132, allocations: 0 / 0.5179 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.4132, allocations: 0 / 0.5179 GB, free: 35.99 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005488/0.4138, allocations: 454.3 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4138, allocations: 8 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.4139, allocations: 17.09 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4141, allocations: 211.4 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4141, allocations: 9.891 kB / 0.5186 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.4141, allocations: 26.09 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.4144, allocations: 164.3 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4144, allocations: 192 / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4144, allocations: 15.22 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4144, allocations: 2.938 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.4146, allocations: 87.67 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.4153, allocations: 0.6127 MB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.4155, allocations: 139.6 kB / 0.5196 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.4156, allocations: 45.52 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.4156, allocations: 3.031 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4156, allocations: 38.55 kB / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.4156, allocations: 0 / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000743/0.4164, allocations: 384.2 kB / 0.52 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4164, allocations: 77.11 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4165, allocations: 138.2 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4166, allocations: 32.52 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.4166, allocations: 132 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.4167, allocations: 57.62 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.4167, allocations: 35.62 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.4168, allocations: 320.8 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.4169, allocations: 40.38 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.417, allocations: 108.8 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4172, allocations: 148.4 kB / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4172, allocations: 0 / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003353/0.4175, allocations: 228.7 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.4175, allocations: 5.281 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4176, allocations: 2.531 kB / 0.5213 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.4178, allocations: 47.86 kB / 0.5213 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.418, allocations: 35.28 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.4197, allocations: 2.735 MB / 0.5241 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.4198, allocations: 17.75 kB / 0.5241 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4198, allocations: 7.75 kB / 0.5241 GB, free: 30.32 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 (20): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4199, allocations: 139.3 kB / 0.5242 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.42, allocations: 12.22 kB / 0.5242 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.42, allocations: 12.72 kB / 0.5242 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.42, allocations: 6.344 kB / 0.5242 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.42, allocations: 6.469 kB / 0.5242 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.42, allocations: 0 / 0.5242 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4203, allocations: 236.6 kB / 0.5245 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4203, allocations: 0 / 0.5245 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4205, allocations: 27.36 kB / 0.5245 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.4206, allocations: 51.69 kB / 0.5245 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4206, allocations: 2.469 kB / 0.5245 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.4221, allocations: 2.718 MB / 0.5272 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4221, allocations: 3.062 kB / 0.5272 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.4253, allocations: 4.604 MB / 0.5317 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.4253, allocations: 91.14 kB / 0.5318 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4254, allocations: 7.062 kB / 0.5318 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4255, allocations: 4.062 kB / 0.5318 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4255, allocations: 9.141 kB / 0.5318 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4255, allocations: 2.75 kB / 0.5318 GB, free: 22.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.4256, allocations: 103.6 kB / 0.5319 GB, free: 22.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4256, allocations: 2.906 kB / 0.5319 GB, free: 22.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.4262, allocations: 76.56 kB / 0.532 GB, free: 22.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001057/0.4263, allocations: 102.3 kB / 0.5321 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.4268, allocations: 348 kB / 0.5324 GB, free: 22.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4268, allocations: 0 / 0.5324 GB, free: 22.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.427, allocations: 288.5 kB / 0.5327 GB, free: 22.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.4275, allocations: 35.47 kB / 0.5327 GB, free: 22.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.4287, allocations: 1.116 MB / 0.5338 GB, free: 21.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.4289, allocations: 0.7244 MB / 0.5345 GB, free: 20.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.429, allocations: 18.06 kB / 0.5345 GB, free: 20.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.429, allocations: 15.81 kB / 0.5346 GB, free: 20.37 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.429, allocations: 0 / 0.5346 GB, free: 20.37 MB / 378.7 MB Notification: Performance of Templates: time 0.005616/0.4347, allocations: 2.415 MB / 0.5369 GB, free: 20.18 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches