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.001403/0.001403, allocations: 76.45 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001524/0.001524, allocations: 166 kB / 23.21 MB, free: 4.906 MB / 14.72 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.532/1.532, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.245/0.245, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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 2.414e-06/2.414e-06, allocations: 0 / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.107e-05/4.348e-05, allocations: 2.281 kB / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.005037/0.00508, allocations: 1.766 MB / 409.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.005755, allocations: 159.4 kB / 409.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.005948, allocations: 0 / 409.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.006079, allocations: 23.78 kB / 409.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.006373, allocations: 55.48 kB / 409.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.006623, allocations: 39.89 kB / 409.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.007, allocations: 198.9 kB / 409.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.007227, allocations: 45.77 kB / 409.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.007541, allocations: 103.8 kB / 409.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.007712, allocations: 55.81 kB / 409.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.007772, allocations: 12 kB / 409.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.007821, allocations: 16 kB / 409.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.00788, allocations: 31.91 kB / 409.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.007999, allocations: 63.83 kB / 409.9 MB, free: 484 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.00833, allocations: 175.5 kB / 410.1 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.008334, allocations: 0 / 410.1 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.008336, allocations: 0 / 410.1 MB, free: 308 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.008352, allocations: 7.938 kB / 410.1 MB, free: 300 kB / 334.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.0008063/0.009158, allocations: 381.9 kB / 410.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.009216, allocations: 12.03 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.009302, allocations: 16.84 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.00959, allocations: 141.6 kB / 410.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.009612, allocations: 16.64 kB / 410.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.009671, allocations: 24.27 kB / 410.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.01009, allocations: 174.1 kB / 410.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.01011, allocations: 4.188 kB / 410.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.01014, allocations: 4.375 kB / 410.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.01015, allocations: 8.375 kB / 410.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.01036, allocations: 83.89 kB / 410.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01139, allocations: 500 kB / 411.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.01172, allocations: 125.1 kB / 411.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.01184, allocations: 49.7 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.01186, allocations: 8.125 kB / 411.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.0119, allocations: 34.5 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.0119, allocations: 0 / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001002/0.0129, allocations: 223.1 kB / 411.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.01297, allocations: 77.11 kB / 411.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01315, allocations: 134 kB / 412 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01317, allocations: 33.7 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01329, allocations: 128.3 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.01336, allocations: 59.47 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.01346, allocations: 37.72 kB / 412.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01364, allocations: 322.8 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.01376, allocations: 35.98 kB / 412.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01393, allocations: 113.2 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.01424, allocations: 160.9 kB / 412.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01424, allocations: 0 / 412.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005632/0.0148, allocations: 223 kB / 413.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.01483, allocations: 12.19 kB / 413.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.01484, allocations: 4 kB / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.01515, allocations: 53.62 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.01535, allocations: 35.98 kB / 413.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.0184, allocations: 2.73 MB / 416 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.01853, allocations: 11.89 kB / 416 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.01856, allocations: 15.94 kB / 416 MB, free: 9.875 MB / 350.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.0001886/0.01874, allocations: 125.8 kB / 416.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.01883, allocations: 23.89 kB / 416.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.01887, allocations: 8.781 kB / 416.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.01888, allocations: 4.125 kB / 416.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.01889, allocations: 4 kB / 416.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01889, allocations: 0 / 416.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.01927, allocations: 161.2 kB / 416.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01927, allocations: 0 / 416.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.0195, allocations: 35.92 kB / 416.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.01969, allocations: 41.7 kB / 416.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.01971, allocations: 7.984 kB / 416.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.02264, allocations: 2.729 MB / 419.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.02264, allocations: 3.984 kB / 419.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.02329, allocations: 375.9 kB / 419.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.02332, allocations: 11.89 kB / 419.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.02334, allocations: 4.156 kB / 419.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.02351, allocations: 12.06 kB / 419.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.02355, allocations: 11.97 kB / 419.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.02357, allocations: 4 kB / 419.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.02366, allocations: 102.9 kB / 419.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02366, allocations: 3.938 kB / 419.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007606/0.02442, allocations: 55.89 kB / 419.7 MB, free: 5.902 MB / 350.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.0001648/0.02459, allocations: 103.3 kB / 419.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007574/0.02534, allocations: 345.2 kB / 420.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02535, allocations: 0 / 420.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.02574, allocations: 277.3 kB / 420.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.02645, allocations: 28.47 kB / 420.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.02785, allocations: 0.526 MB / 421 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.02805, allocations: 116.2 kB / 421.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.02813, allocations: 13.48 kB / 421.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.02817, allocations: 12.5 kB / 421.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.02817, allocations: 0 / 421.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Templates: time 0.008536/0.0367, allocations: 2.056 MB / 423.2 MB, free: 2.367 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.22516492754221]