Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002099/0.002099, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002659/0.002659, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4835/0.4835, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.332e-05, allocations: 6.312 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003918/0.003951, allocations: 1.791 MB / 377 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005086/0.00446, allocations: 159.4 kB / 377.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.004592, allocations: 4 kB / 377.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.464e-05/0.004687, allocations: 23.73 kB / 377.2 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.004914, allocations: 55.5 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.005094, allocations: 35.94 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.005386, allocations: 195 kB / 377.5 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.005556, allocations: 41.64 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.005784, allocations: 111.8 kB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.0059, allocations: 43.88 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.005941, allocations: 16 kB / 377.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.005976, allocations: 16 kB / 377.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.006024, allocations: 35.84 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.006109, allocations: 51.91 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.006409, allocations: 191.3 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006412, allocations: 0 / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006413, allocations: 4 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.006421, allocations: 0 / 378 MB, free: 2.25 MB / 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.0007652/0.007187, allocations: 377.9 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.007228, allocations: 8.031 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.007323, allocations: 28.84 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.007575, allocations: 149.6 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.007596, allocations: 12.7 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.007645, allocations: 20.38 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.007979, allocations: 170.1 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.007998, allocations: 4.141 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.008024, allocations: 12.38 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.008031, allocations: 4.375 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.008227, allocations: 91.88 kB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.009133, allocations: 496.1 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.009388, allocations: 125.1 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.009484, allocations: 49.7 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.009504, allocations: 7.938 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.009541, allocations: 34.56 kB / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.009542, allocations: 3.938 kB / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008293/0.01037, allocations: 235.2 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.01045, allocations: 81.11 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.0106, allocations: 134 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.01063, allocations: 29.7 kB / 380 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.01075, allocations: 132.2 kB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.0108, allocations: 51.58 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.01087, allocations: 45.66 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01105, allocations: 322.8 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.01113, allocations: 39.84 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.01127, allocations: 103 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.01153, allocations: 160.6 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01153, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004607/0.01199, allocations: 235 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.01201, allocations: 9.875 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01202, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.01231, allocations: 57.62 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.01246, allocations: 32.23 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.01545, allocations: 2.745 MB / 383.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.01555, allocations: 19.89 kB / 383.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01557, allocations: 8 kB / 384 MB, free: 11.8 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.0001475/0.01571, allocations: 134 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.01577, allocations: 11.95 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.01582, allocations: 16.78 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01582, allocations: 3.984 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01583, allocations: 0 / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01583, allocations: 7.938 kB / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.01612, allocations: 161.1 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01612, allocations: 4 kB / 384.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.01629, allocations: 23.98 kB / 384.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.01645, allocations: 53.69 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.01647, allocations: 4 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.01912, allocations: 2.73 MB / 387.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01912, allocations: 0 / 387.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.01964, allocations: 376.3 kB / 387.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.01967, allocations: 19.78 kB / 387.5 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.0197, allocations: 16 kB / 387.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.01981, allocations: 0 / 387.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.01985, allocations: 19.91 kB / 387.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.01986, allocations: 4 kB / 387.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.407e-05/0.01995, allocations: 103.4 kB / 387.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01995, allocations: 0 / 387.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.02048, allocations: 55.89 kB / 387.7 MB, free: 7.805 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.0001483/0.02063, allocations: 95.25 kB / 387.8 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.02129, allocations: 345.1 kB / 388.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.0213, allocations: 0 / 388.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.02169, allocations: 285.8 kB / 388.4 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.02226, allocations: 35.66 kB / 388.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.02337, allocations: 0.5286 MB / 388.9 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.02351, allocations: 116.2 kB / 389.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.02356, allocations: 5.5 kB / 389.1 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.0236, allocations: 12.5 kB / 389.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0236, allocations: 0 / 389.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of Templates: time 0.006526/0.03012, allocations: 2.071 MB / 391.2 MB, free: 4.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.000013030949049]