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.001325/0.001325, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001434/0.001434, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.438/1.438, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] 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.21/0.21, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002378/0.002378, allocations: 88 kB / 443.1 MB, free: 6.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3893, allocations: 66.06 MB / 0.4973 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002732/0.392, allocations: 1.793 MB / 0.499 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003882/0.3924, allocations: 154.1 kB / 0.4991 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3925, allocations: 3.25 kB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.3926, allocations: 21.33 kB / 0.4992 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3927, allocations: 52.41 kB / 0.4992 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.3929, allocations: 41.03 kB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.393, allocations: 184.3 kB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3932, allocations: 47.81 kB / 0.4995 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3933, allocations: 63.23 kB / 0.4995 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3934, allocations: 75.17 kB / 0.4996 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3934, allocations: 12.72 kB / 0.4996 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.192e-05/0.3935, allocations: 15.81 kB / 0.4996 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.3935, allocations: 30.38 kB / 0.4997 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.3936, allocations: 69.88 kB / 0.4997 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3938, allocations: 187.4 kB / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3938, allocations: 0 / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3938, allocations: 0 / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3938, allocations: 0 / 0.4999 GB, free: 28.16 MB / 446.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.0004947/0.3943, allocations: 386.4 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3943, allocations: 9.562 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3943, allocations: 18.28 kB / 0.5003 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3945, allocations: 146.7 kB / 0.5005 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3945, allocations: 11.3 kB / 0.5005 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.3946, allocations: 21.2 kB / 0.5005 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3948, allocations: 164.6 kB / 0.5006 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3948, allocations: 7.312 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3949, allocations: 11.94 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3949, allocations: 3.312 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.395, allocations: 90.17 kB / 0.5007 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.3956, allocations: 0.4936 MB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3958, allocations: 126.1 kB / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.3959, allocations: 52.3 kB / 0.5014 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3959, allocations: 0 / 0.5014 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3959, allocations: 33.53 kB / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.3959, allocations: 0 / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006717/0.3966, allocations: 225.8 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.3966, allocations: 87.59 kB / 0.5017 GB, free: 26.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.3967, allocations: 123.7 kB / 0.5018 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3967, allocations: 32.83 kB / 0.5019 GB, free: 26.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.3968, allocations: 129.3 kB / 0.502 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3968, allocations: 60.94 kB / 0.5021 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3969, allocations: 41.3 kB / 0.5021 GB, free: 26.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.3969, allocations: 325.7 kB / 0.5024 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.397, allocations: 38.17 kB / 0.5024 GB, free: 26.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.397, allocations: 103.6 kB / 0.5025 GB, free: 25.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3972, allocations: 152.3 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.3972, allocations: 6.625 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000302/0.3975, allocations: 229.2 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3975, allocations: 6.375 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3975, allocations: 3.125 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.3977, allocations: 51.52 kB / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3978, allocations: 35.55 kB / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.3992, allocations: 2.733 MB / 0.5057 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.3993, allocations: 23.08 kB / 0.5057 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3993, allocations: 6.031 kB / 0.5057 GB, free: 23 MB / 446.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 7.246e-05/0.3993, allocations: 131 kB / 0.5058 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.3994, allocations: 14.22 kB / 0.5058 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.3994, allocations: 19.48 kB / 0.5059 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3994, allocations: 0 / 0.5059 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3994, allocations: 3.062 kB / 0.5059 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3994, allocations: 3.938 kB / 0.5059 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3996, allocations: 158.7 kB / 0.506 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3996, allocations: 0 / 0.506 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3998, allocations: 25.55 kB / 0.506 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.3999, allocations: 46.58 kB / 0.5061 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3999, allocations: 7.25 kB / 0.5061 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.4011, allocations: 2.734 MB / 0.5088 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4011, allocations: 0 / 0.5088 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.4013, allocations: 369.9 kB / 0.5091 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.4014, allocations: 17.92 kB / 0.5091 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.4014, allocations: 7.172 kB / 0.5091 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4015, allocations: 11 kB / 0.5092 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.4015, allocations: 9.797 kB / 0.5092 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4015, allocations: 7.219 kB / 0.5092 GB, free: 19.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.4015, allocations: 103.9 kB / 0.5093 GB, free: 19.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4015, allocations: 0 / 0.5093 GB, free: 19.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.402, allocations: 53.98 kB / 0.5093 GB, free: 19.57 MB / 446.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 8.103e-05/0.402, allocations: 99.16 kB / 0.5094 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.4025, allocations: 344.5 kB / 0.5097 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4025, allocations: 0 / 0.5097 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.4027, allocations: 282.4 kB / 0.51 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.4032, allocations: 39.47 kB / 0.51 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.4039, allocations: 0.6358 MB / 0.5107 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.507e-05/0.404, allocations: 112.1 kB / 0.5108 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.583e-05/0.404, allocations: 15.06 kB / 0.5108 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.4041, allocations: 14.5 kB / 0.5108 GB, free: 18.37 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.4041, allocations: 0 / 0.5108 GB, free: 18.37 MB / 446.1 MB Notification: Performance of Templates: time 0.004734/0.4088, allocations: 2.051 MB / 0.5128 GB, free: 18.08 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.144290233030915]