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.0008085/0.0008085, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001866, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007077/0.0007077, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008768/0.001584, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9647/0.9647, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09069/1.055, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.3097/0.3097, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02326/0.3329, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.7 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 1.503e-06/1.503e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.286e-05, allocations: 5.391 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00185/0.001863, allocations: 1.929 MB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.002051, allocations: 147.4 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.002099, allocations: 7.938 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.002143, allocations: 27.78 kB / 296 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.002217, allocations: 55.48 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.946e-05/0.002286, allocations: 35.95 kB / 296 MB, free: 3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.002425, allocations: 195 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.002527, allocations: 46.36 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.002634, allocations: 107.8 kB / 296.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.002717, allocations: 59.8 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.002745, allocations: 16 kB / 296.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.002768, allocations: 12 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.002789, allocations: 31.88 kB / 296.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.002834, allocations: 47.94 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.002966, allocations: 115.5 kB / 296.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.002978, allocations: 0 / 296.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002978, allocations: 0 / 296.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.002988, allocations: 0 / 296.7 MB, free: 2.383 MB / 282.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.000385/0.003373, allocations: 389.5 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.003402, allocations: 16.84 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.003438, allocations: 24.92 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.003562, allocations: 138.1 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.003573, allocations: 16.7 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.003598, allocations: 16.38 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.003734, allocations: 134.1 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.003744, allocations: 192 / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.003754, allocations: 4.375 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.00376, allocations: 4.375 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.803e-05/0.003818, allocations: 52.97 kB / 297.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.004216, allocations: 411.8 kB / 297.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.004329, allocations: 97.12 kB / 297.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.004361, allocations: 25.72 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.004369, allocations: 4 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.004393, allocations: 42.67 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.004394, allocations: 0 / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003714/0.004765, allocations: 180 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.004803, allocations: 81.05 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.004882, allocations: 136.9 kB / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004892, allocations: 25.7 kB / 298.4 MB, free: 472 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.004946, allocations: 128.2 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.004981, allocations: 63.47 kB / 298.6 MB, free: 276 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.00502, allocations: 37.69 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005121, allocations: 330.7 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.00514, allocations: 15.98 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.005195, allocations: 88.5 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.005289, allocations: 118.8 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005291, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001713/0.005463, allocations: 163 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005474, allocations: 4 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.00548, allocations: 8 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.005611, allocations: 41.88 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.005729, allocations: 54.47 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.006895, allocations: 2.521 MB / 302 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.006941, allocations: 20.05 kB / 302 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.006946, allocations: 4 kB / 302 MB, free: 12.62 MB / 298.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 6.467e-05/0.007011, allocations: 129.8 kB / 302.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.007038, allocations: 15.92 kB / 302.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.007055, allocations: 12.78 kB / 302.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007057, allocations: 4 kB / 302.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007061, allocations: 0 / 302.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.007064, allocations: 7.922 kB / 302.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.007192, allocations: 109.8 kB / 302.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007194, allocations: 0 / 302.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-05/0.007284, allocations: 31.97 kB / 302.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.007293, allocations: 15.83 kB / 302.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.838e-05/0.007372, allocations: 41.73 kB / 302.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.007382, allocations: 7.984 kB / 302.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.008427, allocations: 2.531 MB / 304.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.008428, allocations: 0 / 304.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.008635, allocations: 312.5 kB / 305.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.008644, allocations: 4 kB / 305.2 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.008698, allocations: 15.92 kB / 305.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.008718, allocations: 11.92 kB / 305.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.008723, allocations: 3.938 kB / 305.2 MB, free: 9.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.889e-05/0.008742, allocations: 28.83 kB / 305.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008742, allocations: 0 / 305.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.008991, allocations: 55.89 kB / 305.3 MB, free: 9.062 MB / 298.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 6.613e-05/0.009057, allocations: 80.42 kB / 305.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.009322, allocations: 330 kB / 305.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.009329, allocations: 0 / 305.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.009464, allocations: 282 kB / 306 MB, free: 8.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.009692, allocations: 49.5 kB / 306 MB, free: 8.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.01215, allocations: 383 kB / 306.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.0122, allocations: 83.97 kB / 306.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.01224, allocations: 5.5 kB / 306.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.01231, allocations: 83.34 kB / 306.6 MB, free: 7.691 MB / 298.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01231, allocations: 0 / 306.6 MB, free: 7.691 MB / 298.7 MB Notification: Performance of Templates: time 0.003935/0.01625, allocations: 2.407 MB / 309 MB, free: 5.371 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8563804514706135]