Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001138/0.001138, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2184/0.2184, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4043, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.0031/0.4075, allocations: 1.851 MB / 0.5207 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.4079, allocations: 151.9 kB / 0.5208 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.408, allocations: 2.812 kB / 0.5208 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.888e-05/0.408, allocations: 24.53 kB / 0.5209 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.4082, allocations: 53.48 kB / 0.5209 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.4084, allocations: 38.28 kB / 0.521 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.4086, allocations: 188.9 kB / 0.5211 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.4088, allocations: 56.64 kB / 0.5212 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4089, allocations: 74.27 kB / 0.5213 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.409, allocations: 67.47 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.4091, allocations: 18.31 kB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.4091, allocations: 14.41 kB / 0.5214 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.4091, allocations: 41.48 kB / 0.5214 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.4092, allocations: 80.06 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.4095, allocations: 176.6 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4095, allocations: 1.734 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4095, allocations: 0 / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4096, allocations: 0 / 0.5216 GB, free: 1.781 MB / 382.1 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.0005932/0.4101, allocations: 452.7 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4102, allocations: 9.594 kB / 0.5221 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.4103, allocations: 20.97 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.4105, allocations: 209.8 kB / 0.5223 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4105, allocations: 15.52 kB / 0.5223 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.4105, allocations: 19.98 kB / 0.5223 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.4109, allocations: 164.3 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4109, allocations: 1.922 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.4109, allocations: 17.94 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4109, allocations: 3.438 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.4111, allocations: 88.56 kB / 0.5226 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.4119, allocations: 0.5964 MB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.4122, allocations: 138.6 kB / 0.5233 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.4123, allocations: 48.53 kB / 0.5234 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.4123, allocations: 9.734 kB / 0.5234 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4123, allocations: 36.69 kB / 0.5234 GB, free: 324 kB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.4123, allocations: 0 / 0.5234 GB, free: 324 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008948/0.4132, allocations: 377.3 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.4133, allocations: 79.3 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.4135, allocations: 134.1 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4135, allocations: 30.61 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.4137, allocations: 133.4 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.4137, allocations: 59.27 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.4138, allocations: 37.89 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.414, allocations: 321.8 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.4141, allocations: 34.78 kB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.4143, allocations: 110.7 kB / 0.5247 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.4145, allocations: 158.8 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4145, allocations: 1.5 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004152/0.415, allocations: 234.6 kB / 0.525 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.415, allocations: 7.031 kB / 0.525 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.415, allocations: 2.219 kB / 0.525 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.4153, allocations: 52.67 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.4154, allocations: 38.52 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.418, allocations: 2.982 MB / 0.528 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.4182, allocations: 21.22 kB / 0.5281 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4182, allocations: 6.5 kB / 0.5281 GB, free: 11.84 MB / 398.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 (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.0001264/0.4183, allocations: 127.2 kB / 0.5282 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.4184, allocations: 10.08 kB / 0.5282 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.4184, allocations: 19.97 kB / 0.5282 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4184, allocations: 2.906 kB / 0.5282 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4184, allocations: 1.094 kB / 0.5282 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4184, allocations: 5.688 kB / 0.5282 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.4188, allocations: 240.9 kB / 0.5285 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.4188, allocations: 5.812 kB / 0.5285 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.419, allocations: 24.88 kB / 0.5285 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.4191, allocations: 49.28 kB / 0.5285 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4191, allocations: 6.828 kB / 0.5285 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.4212, allocations: 2.974 MB / 0.5314 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4212, allocations: 3.938 kB / 0.5314 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.4217, allocations: 380.6 kB / 0.5318 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.4218, allocations: 85.75 kB / 0.5319 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4218, allocations: 1.375 kB / 0.5319 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4219, allocations: 10.08 kB / 0.5319 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.422, allocations: 13.61 kB / 0.5319 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.422, allocations: 11.59 kB / 0.5319 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.465e-05/0.4221, allocations: 95.69 kB / 0.532 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4221, allocations: 1.375 kB / 0.532 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.4226, allocations: 57.09 kB / 0.5321 GB, free: 7.914 MB / 398.1 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.0001385/0.4227, allocations: 98.48 kB / 0.5322 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.4234, allocations: 353.8 kB / 0.5325 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4234, allocations: 0 / 0.5325 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.4237, allocations: 286.8 kB / 0.5328 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4242, allocations: 42.48 kB / 0.5328 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4253, allocations: 0.6277 MB / 0.5334 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4256, allocations: 0.7264 MB / 0.5341 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.4257, allocations: 9.062 kB / 0.5342 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.4257, allocations: 13.44 kB / 0.5342 GB, free: 6.094 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4257, allocations: 0 / 0.5342 GB, free: 6.094 MB / 398.1 MB Notification: Performance of Templates: time 0.005335/0.4311, allocations: 1.944 MB / 0.5361 GB, free: 5.199 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches