Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 204.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2741/0.2741, allocations: 46.95 MB / 360.9 MB, free: 4.141 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 63.89 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4016, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003066/0.4047, allocations: 1.785 MB / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.4051, allocations: 155.4 kB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.4051, allocations: 0 / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.546e-05/0.4052, allocations: 23.73 kB / 0.563 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.4054, allocations: 55.55 kB / 0.563 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.4055, allocations: 35.95 kB / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.4058, allocations: 191.1 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4059, allocations: 41.72 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.406, allocations: 67.78 kB / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4062, allocations: 71.7 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.4062, allocations: 16 kB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.4062, allocations: 12 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.4063, allocations: 39.84 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.4064, allocations: 67.72 kB / 0.5635 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4066, allocations: 185.6 kB / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4066, allocations: 4 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4066, allocations: 0 / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4066, allocations: 3.938 kB / 0.5637 GB, free: 1.434 MB / 398.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.0005971/0.4072, allocations: 381.9 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4073, allocations: 8.031 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.4073, allocations: 20.84 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4075, allocations: 146.3 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4075, allocations: 8.703 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.4076, allocations: 24.33 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.4079, allocations: 170.2 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4079, allocations: 4.125 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.4079, allocations: 11.94 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4079, allocations: 4 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.4081, allocations: 83.94 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.4089, allocations: 0.496 MB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.4091, allocations: 129.1 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4092, allocations: 49.7 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.4092, allocations: 0 / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4093, allocations: 38.56 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.4093, allocations: 0 / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007398/0.41, allocations: 223.2 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4101, allocations: 85.05 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4102, allocations: 130 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.4102, allocations: 33.7 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.4103, allocations: 128.2 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.4103, allocations: 59.48 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.4104, allocations: 37.7 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4105, allocations: 326.8 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.4106, allocations: 35.98 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4107, allocations: 98.2 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.4109, allocations: 168.4 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4109, allocations: 0 / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000392/0.4113, allocations: 227.4 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4113, allocations: 4.094 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4113, allocations: 7.938 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.4116, allocations: 45.7 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4117, allocations: 35.92 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.4143, allocations: 2.734 MB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.4144, allocations: 19.83 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.4144, allocations: 12 kB / 0.5695 GB, free: 11.01 MB / 414.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.0001135/0.4145, allocations: 125.8 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.4146, allocations: 16.12 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.4146, allocations: 16.72 kB / 0.5697 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4146, allocations: 0 / 0.5697 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4146, allocations: 4 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.4146, allocations: 7.922 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.4149, allocations: 157.2 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4149, allocations: 0 / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.415, allocations: 27.98 kB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.4152, allocations: 57.66 kB / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4152, allocations: 0 / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.4174, allocations: 2.722 MB / 0.5726 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4174, allocations: 3.984 kB / 0.5726 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.4178, allocations: 392 kB / 0.5729 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.4178, allocations: 11.89 kB / 0.573 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4178, allocations: 0 / 0.573 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4179, allocations: 4.062 kB / 0.573 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.418, allocations: 15.92 kB / 0.573 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.418, allocations: 3.984 kB / 0.573 GB, free: 7.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.4181, allocations: 103.3 kB / 0.5731 GB, free: 7.094 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 0.5731 GB, free: 7.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.4185, allocations: 55.89 kB / 0.5731 GB, free: 7.039 MB / 414.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.000118/0.4186, allocations: 95.25 kB / 0.5732 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.4192, allocations: 345.1 kB / 0.5736 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4192, allocations: 0 / 0.5736 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.4195, allocations: 286 kB / 0.5738 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.42, allocations: 38.88 kB / 0.5739 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4211, allocations: 0.6509 MB / 0.5745 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4212, allocations: 112.1 kB / 0.5746 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.372e-05/0.4213, allocations: 13.42 kB / 0.5746 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.4213, allocations: 11.44 kB / 0.5746 GB, free: 5.398 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4213, allocations: 0 / 0.5746 GB, free: 5.398 MB / 414.1 MB Notification: Performance of Templates: time 0.005756/0.4271, allocations: 2.284 MB / 0.5769 GB, free: 3.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.466955244075507]