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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001676/0.001676, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3913/0.3913, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.227e-05, allocations: 10.25 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004172/0.004214, allocations: 1.786 MB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005258/0.00474, allocations: 151.4 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.00487, allocations: 7.938 kB / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.099e-05/0.004941, allocations: 19.78 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.005132, allocations: 67.42 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.005287, allocations: 31.95 kB / 379.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.005554, allocations: 195 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.005717, allocations: 37.64 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.005928, allocations: 111.8 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.006053, allocations: 51.88 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.006095, allocations: 16 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.535e-05/0.00613, allocations: 12 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.006171, allocations: 31.84 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.006265, allocations: 63.89 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.006538, allocations: 187.4 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.006542, allocations: 0 / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006543, allocations: 0 / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.00655, allocations: 0 / 379.9 MB, free: 160 kB / 346.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.0006928/0.007243, allocations: 382 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.007286, allocations: 8.031 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.00737, allocations: 28.84 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.007607, allocations: 145.6 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.007636, allocations: 12.7 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.007692, allocations: 24.38 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.008026, allocations: 170.1 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.008046, allocations: 4.141 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.008068, allocations: 8.375 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.008076, allocations: 4.375 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.008266, allocations: 83.89 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.009158, allocations: 0.4921 MB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.009412, allocations: 125.1 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.00951, allocations: 49.7 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.009529, allocations: 7.938 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.009576, allocations: 38.69 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.009577, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008078/0.01038, allocations: 231.1 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.01045, allocations: 77.11 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.01062, allocations: 140.5 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.01064, allocations: 29.7 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01074, allocations: 124.3 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.0108, allocations: 59.56 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.01087, allocations: 41.67 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.01105, allocations: 322.8 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.01114, allocations: 47.78 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.01129, allocations: 112.4 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.01154, allocations: 156.5 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01155, allocations: 0 / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004451/0.01199, allocations: 231 kB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.01201, allocations: 4 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.01202, allocations: 4 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.01229, allocations: 49.69 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.01243, allocations: 35.92 kB / 383.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.01533, allocations: 2.738 MB / 385.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01543, allocations: 19.92 kB / 385.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01545, allocations: 4 kB / 385.9 MB, free: 9.715 MB / 362.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.0001615/0.01561, allocations: 145.9 kB / 386 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.01567, allocations: 15.95 kB / 386 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.0157, allocations: 8.781 kB / 386.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01571, allocations: 4 kB / 386.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01571, allocations: 0 / 386.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01572, allocations: 0 / 386.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.01602, allocations: 173.2 kB / 386.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01602, allocations: 0 / 386.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.01619, allocations: 35.97 kB / 386.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.01636, allocations: 49.69 kB / 386.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01637, allocations: 4 kB / 386.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.01904, allocations: 2.735 MB / 389.1 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01905, allocations: 4.031 kB / 389.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.01957, allocations: 371.6 kB / 389.4 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.0196, allocations: 19.83 kB / 389.4 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01962, allocations: 3.938 kB / 389.4 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.01974, allocations: 8.062 kB / 389.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01977, allocations: 7.984 kB / 389.5 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01978, allocations: 4 kB / 389.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.01987, allocations: 107.3 kB / 389.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01987, allocations: 0 / 389.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005054/0.02037, allocations: 55.89 kB / 389.6 MB, free: 5.715 MB / 362.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.0001516/0.02053, allocations: 95.84 kB / 389.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.02121, allocations: 349 kB / 390.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.02122, allocations: 0 / 390.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.02162, allocations: 289.3 kB / 390.3 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.02217, allocations: 35.97 kB / 390.4 MB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.02324, allocations: 0.5116 MB / 390.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.02339, allocations: 112.2 kB / 391 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.02344, allocations: 17.47 kB / 391 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.02348, allocations: 16.5 kB / 391 MB, free: 4.199 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02348, allocations: 0 / 391 MB, free: 4.199 MB / 362.7 MB Notification: Performance of Templates: time 0.006639/0.03012, allocations: 2.086 MB / 393.1 MB, free: 2.156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.952553356997669]