Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002256, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007245/0.0007245, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002248, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.163/1.292, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1607/0.1607, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02785/0.1885, allocations: 12.31 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 3.938 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.393e-05, allocations: 2.312 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.005995/0.006019, allocations: 1.912 MB / 269.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.006393, allocations: 155.4 kB / 269.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.006458, allocations: 3.938 kB / 269.4 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.844e-05/0.006517, allocations: 19.8 kB / 269.5 MB, free: 472 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.006635, allocations: 63.48 kB / 269.5 MB, free: 408 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.00674, allocations: 35.94 kB / 269.6 MB, free: 372 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.006932, allocations: 194.9 kB / 269.8 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.007056, allocations: 38.44 kB / 269.8 MB, free: 140 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.007212, allocations: 119.8 kB / 269.9 MB, free: 20 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.007345, allocations: 55.81 kB / 270 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.007378, allocations: 16 kB / 270 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.007405, allocations: 12 kB / 270 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.007442, allocations: 27.88 kB / 270 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.007496, allocations: 51.94 kB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.007683, allocations: 111.5 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.007696, allocations: 0 / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007698, allocations: 0 / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.007708, allocations: 0 / 270.2 MB, free: 15.75 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.000498/0.008206, allocations: 396.2 kB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.00824, allocations: 8.031 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.008293, allocations: 28.91 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.008453, allocations: 133.5 kB / 270.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.008474, allocations: 16.7 kB / 270.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.008516, allocations: 20.38 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.008688, allocations: 138.1 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.008701, allocations: 4.141 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.008714, allocations: 4.375 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.008721, allocations: 8.375 kB / 270.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.008798, allocations: 47.78 kB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003642/0.01244, allocations: 411.8 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.0126, allocations: 105.1 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.01264, allocations: 33.7 kB / 271.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.01265, allocations: 4 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.01268, allocations: 34.69 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.01269, allocations: 0 / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005225/0.01321, allocations: 179.1 kB / 271.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.01325, allocations: 81.11 kB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.01334, allocations: 130.6 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.01336, allocations: 29.7 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.01343, allocations: 128.3 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.01347, allocations: 59.47 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.01353, allocations: 41.55 kB / 272.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01363, allocations: 330.8 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.01366, allocations: 12 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.01373, allocations: 92.53 kB / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01386, allocations: 124.7 kB / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01386, allocations: 0 / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002851/0.01414, allocations: 155 kB / 272.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.01416, allocations: 11.98 kB / 272.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01417, allocations: 0 / 272.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.01435, allocations: 45.89 kB / 272.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.0145, allocations: 48.2 kB / 273 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/0.01949, allocations: 2.529 MB / 275.5 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.01957, allocations: 19.98 kB / 275.5 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01958, allocations: 8 kB / 275.5 MB, free: 9.953 MB / 282.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 9.538e-05/0.01967, allocations: 114 kB / 275.6 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.01973, allocations: 23.91 kB / 275.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.01977, allocations: 16.78 kB / 275.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01977, allocations: 0 / 275.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.01978, allocations: 4 kB / 275.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01978, allocations: 3.984 kB / 275.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.01999, allocations: 113.7 kB / 275.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01999, allocations: 7.938 kB / 275.8 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.02013, allocations: 36.47 kB / 275.8 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.02014, allocations: 11.89 kB / 275.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.02025, allocations: 37.7 kB / 275.9 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.02027, allocations: 7.984 kB / 275.9 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.02409, allocations: 2.522 MB / 278.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02409, allocations: 0 / 278.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.02434, allocations: 308.6 kB / 278.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.02435, allocations: 12 kB / 278.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.02443, allocations: 3.984 kB / 278.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.02447, allocations: 15.92 kB / 278.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.02448, allocations: 7.938 kB / 278.8 MB, free: 6.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.02451, allocations: 24.77 kB / 278.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02451, allocations: 4 kB / 278.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.02485, allocations: 55.89 kB / 278.9 MB, free: 6.402 MB / 282.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.0001203/0.02497, allocations: 80.42 kB / 278.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007087/0.02568, allocations: 325.8 kB / 279.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/0.02569, allocations: 0 / 279.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.02587, allocations: 286 kB / 279.5 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.02627, allocations: 361.2 kB / 279.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.02889, allocations: 406.3 kB / 280.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.097e-05/0.02896, allocations: 79.97 kB / 280.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.02902, allocations: 13.77 kB / 280.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.02911, allocations: 75.34 kB / 280.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.02911, allocations: 0 / 280.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of Templates: time 0.004904/0.03401, allocations: 2.37 MB / 282.8 MB, free: 2.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1373779317364097]