Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 109.5 kB / 20.37 MB, free: 2.098 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 212.3 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 256.8 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2572/0.2572, allocations: 46.89 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 89] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 76.11 kB / 0.4949 GB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3865, allocations: 65.98 MB / 0.5594 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003208/0.3897, allocations: 1.86 MB / 0.5612 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003852/0.3901, allocations: 151.4 kB / 0.5613 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.3901, allocations: 7.938 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.036e-05/0.3902, allocations: 23.78 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3904, allocations: 59.48 kB / 0.5614 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.3905, allocations: 35.95 kB / 0.5615 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.3908, allocations: 179.2 kB / 0.5616 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3909, allocations: 41.53 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.391, allocations: 67.73 kB / 0.5617 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3911, allocations: 79.67 kB / 0.5618 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3912, allocations: 15.94 kB / 0.5618 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.233e-05/0.3912, allocations: 20 kB / 0.5619 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.3912, allocations: 27.92 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3913, allocations: 83.61 kB / 0.562 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.3916, allocations: 181.7 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3916, allocations: 0 / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3916, allocations: 0 / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3916, allocations: 0 / 0.5621 GB, free: 2.379 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.000695/0.3923, allocations: 467 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3923, allocations: 12.03 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.3924, allocations: 20.84 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.3926, allocations: 204.1 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3926, allocations: 8.703 kB / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.3927, allocations: 28.31 kB / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.393, allocations: 166.2 kB / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.393, allocations: 192 / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.393, allocations: 11.94 kB / 0.563 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.393, allocations: 8 kB / 0.563 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3932, allocations: 87.89 kB / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.3941, allocations: 0.6151 MB / 0.5637 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3944, allocations: 129.1 kB / 0.5638 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.3945, allocations: 49.83 kB / 0.5639 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3945, allocations: 4 kB / 0.5639 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3945, allocations: 34.56 kB / 0.5639 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.3945, allocations: 0 / 0.5639 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008434/0.3954, allocations: 377.3 kB / 0.5643 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.3954, allocations: 77.11 kB / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3956, allocations: 132.8 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3956, allocations: 25.7 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.3957, allocations: 136.2 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.3957, allocations: 59.48 kB / 0.5647 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.3958, allocations: 41.7 kB / 0.5647 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.396, allocations: 322.8 kB / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.396, allocations: 35.98 kB / 0.5651 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3962, allocations: 111.8 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3964, allocations: 152.5 kB / 0.5653 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3964, allocations: 4 kB / 0.5653 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003887/0.3968, allocations: 223.6 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3968, allocations: 8 kB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3968, allocations: 0 / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.397, allocations: 53.67 kB / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3972, allocations: 39.92 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.3999, allocations: 2.988 MB / 0.5685 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4, allocations: 15.89 kB / 0.5686 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.4, allocations: 16.09 kB / 0.5686 GB, free: 11.12 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.0001356/0.4002, allocations: 137.8 kB / 0.5687 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.4002, allocations: 11.91 kB / 0.5687 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.4003, allocations: 20.66 kB / 0.5687 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.4003, allocations: 3.938 kB / 0.5687 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4003, allocations: 4 kB / 0.5687 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4003, allocations: 3.984 kB / 0.5687 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.4006, allocations: 225.6 kB / 0.569 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4006, allocations: 4 kB / 0.569 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.4008, allocations: 27.98 kB / 0.569 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.4009, allocations: 49.69 kB / 0.569 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4009, allocations: 7.938 kB / 0.569 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.4034, allocations: 2.986 MB / 0.572 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4034, allocations: 0 / 0.572 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.4039, allocations: 376.6 kB / 0.5723 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.4039, allocations: 85.06 kB / 0.5724 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.4039, allocations: 4 kB / 0.5724 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.404, allocations: 8 kB / 0.5724 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.4041, allocations: 15.91 kB / 0.5724 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4041, allocations: 4 kB / 0.5724 GB, free: 6.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.4042, allocations: 107.2 kB / 0.5725 GB, free: 6.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4042, allocations: 0 / 0.5725 GB, free: 6.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004721/0.4046, allocations: 51.95 kB / 0.5726 GB, free: 6.629 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.0001406/0.4048, allocations: 95.25 kB / 0.5727 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006041/0.4054, allocations: 353 kB / 0.573 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4054, allocations: 192 / 0.573 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.4057, allocations: 289.2 kB / 0.5733 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.4062, allocations: 41.66 kB / 0.5733 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4074, allocations: 0.6645 MB / 0.574 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4078, allocations: 0.7281 MB / 0.5747 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.4078, allocations: 15.38 kB / 0.5747 GB, free: 4.344 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4078, allocations: 0 / 0.5747 GB, free: 4.344 MB / 414.1 MB Notification: Performance of Templates: time 0.005663/0.4135, allocations: 3.167 MB / 0.5778 GB, free: 1.184 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches