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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 191.4 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2493/0.2493, allocations: 44.91 MB / 351.6 MB, free: 12.2 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.89 kB / 495.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3994, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004207/0.4036, allocations: 1.872 MB / 0.5482 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000497/0.4041, allocations: 151 kB / 0.5483 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4042, allocations: 2.719 kB / 0.5483 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.66e-05/0.4042, allocations: 22.97 kB / 0.5484 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.4044, allocations: 58.23 kB / 0.5484 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.4046, allocations: 31.75 kB / 0.5485 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.4049, allocations: 188.1 kB / 0.5486 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.4051, allocations: 46.73 kB / 0.5487 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.4052, allocations: 66.23 kB / 0.5487 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.4053, allocations: 72.2 kB / 0.5488 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.4054, allocations: 13.44 kB / 0.5488 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.4054, allocations: 14.72 kB / 0.5488 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.4055, allocations: 40.67 kB / 0.5489 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4056, allocations: 85.52 kB / 0.549 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.406, allocations: 179.9 kB / 0.5491 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.406, allocations: 5.062 kB / 0.5491 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.406, allocations: 0 / 0.5491 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.406, allocations: 0 / 0.5491 GB, free: 11.05 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.0009162/0.4069, allocations: 461.8 kB / 0.5496 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.407, allocations: 8.406 kB / 0.5496 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.4071, allocations: 18.78 kB / 0.5496 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.4074, allocations: 204 kB / 0.5498 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.4074, allocations: 11.33 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.4074, allocations: 19 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.4078, allocations: 165.5 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4078, allocations: 9.453 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.4078, allocations: 9.281 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4078, allocations: 4.219 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.408, allocations: 91.14 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4091, allocations: 0.6038 MB / 0.5507 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.4094, allocations: 137.3 kB / 0.5508 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.4095, allocations: 44.92 kB / 0.5509 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4095, allocations: 5.641 kB / 0.5509 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.4095, allocations: 35.91 kB / 0.5509 GB, free: 9.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4095, allocations: 0 / 0.5509 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009112/0.4104, allocations: 380.3 kB / 0.5513 GB, free: 9.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.4105, allocations: 79.14 kB / 0.5513 GB, free: 9.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4106, allocations: 133.8 kB / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4107, allocations: 30.83 kB / 0.5515 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4108, allocations: 139 kB / 0.5516 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.4108, allocations: 54.41 kB / 0.5517 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.4109, allocations: 38.89 kB / 0.5517 GB, free: 8.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4111, allocations: 321.1 kB / 0.552 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.4111, allocations: 37.02 kB / 0.552 GB, free: 8.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4113, allocations: 102.3 kB / 0.5521 GB, free: 8.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.4115, allocations: 155.3 kB / 0.5523 GB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4115, allocations: 1.219 kB / 0.5523 GB, free: 8.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004218/0.4119, allocations: 236.9 kB / 0.5525 GB, free: 7.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4119, allocations: 7.125 kB / 0.5525 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4119, allocations: 2.344 kB / 0.5525 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.4122, allocations: 49.09 kB / 0.5526 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4123, allocations: 39.98 kB / 0.5526 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.4151, allocations: 2.996 MB / 0.5555 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/0.4152, allocations: 17.58 kB / 0.5556 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4152, allocations: 6.75 kB / 0.5556 GB, free: 4.785 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.0001487/0.4154, allocations: 138.3 kB / 0.5557 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.4154, allocations: 10.48 kB / 0.5557 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.4154, allocations: 18.78 kB / 0.5557 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4155, allocations: 2.25 kB / 0.5557 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.4155, allocations: 5.156 kB / 0.5557 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4155, allocations: 1.125 kB / 0.5557 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.4158, allocations: 231.6 kB / 0.556 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4158, allocations: 0 / 0.556 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.416, allocations: 30.61 kB / 0.556 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.4161, allocations: 46.3 kB / 0.556 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4162, allocations: 14.2 kB / 0.556 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.4187, allocations: 2.983 MB / 0.559 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4187, allocations: 0 / 0.559 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.4191, allocations: 381.3 kB / 0.5593 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.4192, allocations: 88.17 kB / 0.5594 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4192, allocations: 2.125 kB / 0.5594 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4193, allocations: 9.062 kB / 0.5594 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.4194, allocations: 13.08 kB / 0.5594 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.4194, allocations: 3.75 kB / 0.5594 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.403e-05/0.4195, allocations: 111.4 kB / 0.5595 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4195, allocations: 0 / 0.5595 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.42, allocations: 54.89 kB / 0.5596 GB, free: 0.7227 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.0001358/0.4201, allocations: 97.16 kB / 0.5597 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.4208, allocations: 340.7 kB / 0.56 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4208, allocations: 192 / 0.56 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4211, allocations: 293 kB / 0.5603 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.4217, allocations: 34.77 kB / 0.5603 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.423, allocations: 0.6406 MB / 0.5609 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4234, allocations: 0.7305 MB / 0.5617 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.4234, allocations: 14.59 kB / 0.5617 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.4235, allocations: 13 kB / 0.5617 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4235, allocations: 0 / 0.5617 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Templates: time 0.005836/0.4293, allocations: 2.015 MB / 0.5636 GB, free: 13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.496558007784188]