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.001822/0.001822, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002214/0.002214, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 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.491/1.491, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 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.2277/0.2277, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002458/0.002458, allocations: 83.84 kB / 0.4974 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3122, allocations: 66.09 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003266/0.3154, allocations: 1.775 MB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.3158, allocations: 151.4 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.3159, allocations: 4 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.3159, allocations: 15.8 kB / 0.5638 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3161, allocations: 55.48 kB / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.3162, allocations: 35.95 kB / 0.5639 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.3164, allocations: 195 kB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3166, allocations: 37.73 kB / 0.5641 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3167, allocations: 67.78 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3168, allocations: 67.69 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.3168, allocations: 16 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.638e-05/0.3169, allocations: 16 kB / 0.5643 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3169, allocations: 31.86 kB / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.317, allocations: 67.73 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.3172, allocations: 185.8 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3172, allocations: 4 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3172, allocations: 0 / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3173, allocations: 0 / 0.5645 GB, free: 1.266 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.0005867/0.3178, allocations: 381.9 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3179, allocations: 19.97 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.3179, allocations: 20.83 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3181, allocations: 146.3 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3182, allocations: 12.7 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.3182, allocations: 16.33 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.3185, allocations: 166.2 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3185, allocations: 8.188 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3185, allocations: 7.938 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3185, allocations: 7.938 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.3187, allocations: 83.95 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/0.3195, allocations: 0.4963 MB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3198, allocations: 125.1 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.3199, allocations: 49.7 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.3199, allocations: 4 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3199, allocations: 30.56 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3199, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007403/0.3206, allocations: 227.2 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.3207, allocations: 85.05 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3208, allocations: 128.8 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3209, allocations: 33.64 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.321, allocations: 128.2 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.321, allocations: 59.47 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.3211, allocations: 37.72 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3213, allocations: 330.8 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.3213, allocations: 35.98 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3215, allocations: 100.6 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3217, allocations: 157 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3217, allocations: 7.938 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004203/0.3221, allocations: 230.9 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3221, allocations: 4 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3221, allocations: 4 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.3223, allocations: 49.95 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3225, allocations: 35.92 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.3249, allocations: 2.73 MB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.325, allocations: 20.05 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.325, allocations: 15.98 kB / 0.5703 GB, free: 10.84 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.0001248/0.3251, allocations: 129.8 kB / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.3252, allocations: 15.91 kB / 0.5705 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.3252, allocations: 12.72 kB / 0.5705 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3252, allocations: 4 kB / 0.5705 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3252, allocations: 0 / 0.5705 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3252, allocations: 3.938 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3255, allocations: 157.2 kB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3255, allocations: 4 kB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3257, allocations: 27.98 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.3258, allocations: 45.69 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3258, allocations: 8 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.3282, allocations: 2.73 MB / 0.5734 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3282, allocations: 0 / 0.5734 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.3287, allocations: 383.6 kB / 0.5738 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3287, allocations: 15.88 kB / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3287, allocations: 0 / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3288, allocations: 8.062 kB / 0.5738 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3288, allocations: 7.984 kB / 0.5738 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3289, allocations: 7.938 kB / 0.5738 GB, free: 7.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.3289, allocations: 107.4 kB / 0.5739 GB, free: 6.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3289, allocations: 96 / 0.5739 GB, free: 6.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.3294, allocations: 59.83 kB / 0.574 GB, free: 6.859 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.0001178/0.3295, allocations: 95.25 kB / 0.5741 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.3301, allocations: 341.5 kB / 0.5744 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3301, allocations: 7.938 kB / 0.5744 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.3305, allocations: 277.3 kB / 0.5746 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.331, allocations: 31.91 kB / 0.5747 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3321, allocations: 0.6733 MB / 0.5753 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.3322, allocations: 112.1 kB / 0.5754 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3323, allocations: 15.44 kB / 0.5755 GB, free: 5.207 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3323, allocations: 4 kB / 0.5755 GB, free: 5.203 MB / 414.1 MB Notification: Performance of Templates: time 0.005804/0.3381, allocations: 3.23 MB / 0.5786 GB, free: 1.977 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/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: 8.55199104687199]