Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001543/0.001543, allocations: 79.19 kB / 20.52 MB, free: 1.281 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.001748/0.001748, allocations: 163.6 kB / 23.76 MB, free: 4.465 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.527/1.527, allocations: 158.6 MB / 185.5 MB, free: 6.207 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.2201/0.2201, allocations: 32.38 MB / 270.1 MB, free: 2.699 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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 67.91 kB / 407.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1377, allocations: 61.04 MB / 468.8 MB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004819/0.1425, allocations: 2.974 MB / 471.8 MB, free: 5.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1442, allocations: 0.8303 MB / 472.6 MB, free: 4.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1444, allocations: 11.94 kB / 472.6 MB, free: 4.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1447, allocations: 79.17 kB / 472.7 MB, free: 4.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.145, allocations: 178.5 kB / 472.9 MB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1453, allocations: 107.9 kB / 473 MB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.146, allocations: 0.5986 MB / 473.6 MB, free: 3.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1462, allocations: 109.9 kB / 473.7 MB, free: 3.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1465, allocations: 239.3 kB / 473.9 MB, free: 3.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1468, allocations: 207 kB / 474.1 MB, free: 2.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.1469, allocations: 44 kB / 474.1 MB, free: 2.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.1469, allocations: 44 kB / 474.2 MB, free: 2.871 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1471, allocations: 103.5 kB / 474.3 MB, free: 2.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.1473, allocations: 223 kB / 474.5 MB, free: 2.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.1479, allocations: 0.564 MB / 475.1 MB, free: 1.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1479, allocations: 0 / 475.1 MB, free: 1.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.1479, allocations: 4 kB / 475.1 MB, free: 1.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.148, allocations: 0 / 475.1 MB, free: 1.98 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001103/0.1491, allocations: 0.6921 MB / 475.8 MB, free: 1.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1491, allocations: 8.031 kB / 475.8 MB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.1492, allocations: 56.61 kB / 475.8 MB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.1497, allocations: 257.2 kB / 476.1 MB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.1497, allocations: 41.38 kB / 476.1 MB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/0.1498, allocations: 56.33 kB / 476.2 MB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.1505, allocations: 442.9 kB / 476.6 MB, free: 388 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.1505, allocations: 15.84 kB / 476.6 MB, free: 372 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.1506, allocations: 20 kB / 476.6 MB, free: 352 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1506, allocations: 8 kB / 476.7 MB, free: 344 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.1511, allocations: 308.5 kB / 477 MB, free: 36 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2587/0.4098, allocations: 0.9344 MB / 477.9 MB, free: 50.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.4104, allocations: 389.3 kB / 478.3 MB, free: 50.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.4107, allocations: 191.2 kB / 478.5 MB, free: 50.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4107, allocations: 6.25 kB / 478.5 MB, free: 50.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4107, allocations: 39.28 kB / 478.5 MB, free: 50.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 3.647e-06/0.4107, allocations: 2.125 kB / 478.5 MB, free: 50.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.002433/0.4131, allocations: 1.856 MB / 480.4 MB, free: 49.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4132, allocations: 88.19 kB / 480.4 MB, free: 49.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.4134, allocations: 234.8 kB / 480.7 MB, free: 49.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4134, allocations: 39.61 kB / 480.7 MB, free: 49.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4135, allocations: 214.4 kB / 480.9 MB, free: 48.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.4136, allocations: 292.8 kB / 481.2 MB, free: 48.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4138, allocations: 117.3 kB / 481.3 MB, free: 48.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.4138, allocations: 353.8 kB / 481.7 MB, free: 48.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.4141, allocations: 158.6 kB / 481.8 MB, free: 48.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.4143, allocations: 277.7 kB / 482.1 MB, free: 48.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.4148, allocations: 475.4 kB / 482.6 MB, free: 47.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4148, allocations: 0 / 482.6 MB, free: 47.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006721/0.4155, allocations: 0.5662 MB / 483.1 MB, free: 47.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4155, allocations: 6.469 kB / 483.1 MB, free: 47.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4155, allocations: 3.188 kB / 483.1 MB, free: 47.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.4156, allocations: 9.875 kB / 483.1 MB, free: 47.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.4161, allocations: 184.4 kB / 483.3 MB, free: 47.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.4161, allocations: 7.062 kB / 483.3 MB, free: 47.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4164, allocations: 28.38 kB / 483.4 MB, free: 47.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.4164, allocations: 23.19 kB / 483.4 MB, free: 47.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.4165, allocations: 179.6 kB / 483.6 MB, free: 47.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.4166, allocations: 49.09 kB / 483.6 MB, free: 47.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.4167, allocations: 53.27 kB / 483.7 MB, free: 47.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4167, allocations: 9.312 kB / 483.7 MB, free: 47.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.4167, allocations: 0 / 483.7 MB, free: 47.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4167, allocations: 5.891 kB / 483.7 MB, free: 47.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.4181, allocations: 1.286 MB / 485 MB, free: 46.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4181, allocations: 6.781 kB / 485 MB, free: 46.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.4187, allocations: 159.1 kB / 485.1 MB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4187, allocations: 6.25 kB / 485.1 MB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.4187, allocations: 23.03 kB / 485.1 MB, free: 46.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.4187, allocations: 3.281 kB / 485.2 MB, free: 46.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4187, allocations: 6.938 kB / 485.2 MB, free: 46.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.4196, allocations: 0.9141 MB / 486.1 MB, free: 45.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.4197, allocations: 45.59 kB / 486.1 MB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.4197, allocations: 15.84 kB / 486.1 MB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.42, allocations: 21.38 kB / 486.2 MB, free: 45.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.42, allocations: 55.67 kB / 486.2 MB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.42, allocations: 19.94 kB / 486.2 MB, free: 45.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.48e-05/0.4201, allocations: 167.6 kB / 486.4 MB, free: 45.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4201, allocations: 0 / 486.4 MB, free: 45.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.4206, allocations: 142.3 kB / 486.5 MB, free: 45.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.4207, allocations: 127 kB / 486.7 MB, free: 45.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.4213, allocations: 430.3 kB / 487.1 MB, free: 45.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4213, allocations: 224 / 487.1 MB, free: 45.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.4215, allocations: 230.6 kB / 487.3 MB, free: 45.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.4223, allocations: 125.2 kB / 487.4 MB, free: 45.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4243, allocations: 1.657 MB / 489.1 MB, free: 44.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.4245, allocations: 248 kB / 489.3 MB, free: 44.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.4247, allocations: 54.62 kB / 489.4 MB, free: 44.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/0.4248, allocations: 43.72 kB / 489.4 MB, free: 44.11 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4248, allocations: 4 kB / 489.4 MB, free: 44.11 MB / 446.1 MB Notification: Performance of Templates: time 0.01/0.4348, allocations: 5.367 MB / 494.8 MB, free: 43.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.578153633978218]