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.001314/0.001314, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001412/0.001412, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.8307/0.8307, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1315/0.1315, allocations: 32.36 MB / 270.4 MB, free: 14.7 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.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.979e-05, allocations: 8.219 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002456/0.002476, allocations: 3.282 MB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.003464, allocations: 0.8344 MB / 351.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.00361, allocations: 11.88 kB / 351.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.003754, allocations: 75.19 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.003951, allocations: 190.4 kB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.004117, allocations: 103.8 kB / 352.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.004388, allocations: 0.6179 MB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.004558, allocations: 117.9 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.004758, allocations: 351.2 kB / 353.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.004896, allocations: 183.5 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.004933, allocations: 40 kB / 353.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.004976, allocations: 44 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.005017, allocations: 103.6 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.005109, allocations: 191.6 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.00534, allocations: 378.6 kB / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005342, allocations: 0 / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005343, allocations: 0 / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.005348, allocations: 0 / 354.1 MB, free: 2.938 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0005379/0.005886, allocations: 0.7998 MB / 354.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.005916, allocations: 8.031 kB / 354.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.00599, allocations: 92.61 kB / 355 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.006202, allocations: 279.2 kB / 355.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.006219, allocations: 29.38 kB / 355.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.006268, allocations: 64.33 kB / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.006582, allocations: 352.8 kB / 355.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.006599, allocations: 8.141 kB / 355.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.00662, allocations: 20.38 kB / 355.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.006631, allocations: 15.94 kB / 355.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.006843, allocations: 207.2 kB / 356 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.007649, allocations: 1.005 MB / 357 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.00805, allocations: 330 kB / 357.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.0082, allocations: 145 kB / 357.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.008216, allocations: 12.48 kB / 357.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.00824, allocations: 45.89 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.553e-06/0.008241, allocations: 0 / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001602/0.009844, allocations: 1.656 MB / 359.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.009879, allocations: 85.61 kB / 359.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01003, allocations: 288.2 kB / 359.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01005, allocations: 37.7 kB / 359.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.01015, allocations: 264 kB / 359.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.01027, allocations: 281.5 kB / 360.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.01037, allocations: 124.3 kB / 360.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01049, allocations: 0.5235 MB / 360.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.01061, allocations: 93.94 kB / 360.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.0108, allocations: 246.8 kB / 361.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.01114, allocations: 408.6 kB / 361.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01114, allocations: 3.938 kB / 361.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004426/0.01158, allocations: 0.489 MB / 362 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0116, allocations: 4 kB / 362 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.0116, allocations: 4 kB / 362 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01162, allocations: 8 kB / 362 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.01193, allocations: 179.7 kB / 362.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.01194, allocations: 4 kB / 362.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.01206, allocations: 32.27 kB / 362.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.01208, allocations: 28.06 kB / 362.2 MB, free: 10.39 MB / 298.7 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.0001025/0.01218, allocations: 200.3 kB / 362.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.01225, allocations: 67.72 kB / 362.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.01231, allocations: 55.61 kB / 362.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01231, allocations: 8 kB / 362.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.01232, allocations: 4 kB / 362.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.01233, allocations: 3.984 kB / 362.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.01335, allocations: 1.319 MB / 363.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01335, allocations: 0 / 363.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.01368, allocations: 163.7 kB / 364 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01368, allocations: 4.344 kB / 364 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.0137, allocations: 24 kB / 364.1 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.01371, allocations: 8 kB / 364.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01371, allocations: 4 kB / 364.1 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.01432, allocations: 0.8968 MB / 365 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.01435, allocations: 39.77 kB / 365 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01438, allocations: 16 kB / 365 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01451, allocations: 23.98 kB / 365.1 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.01455, allocations: 56.3 kB / 365.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.01457, allocations: 20 kB / 365.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.01465, allocations: 197.1 kB / 365.3 MB, free: 7.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01465, allocations: 0 / 365.3 MB, free: 7.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.01494, allocations: 144 kB / 365.5 MB, free: 6.977 MB / 298.7 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 7.992e-05/0.01502, allocations: 119.1 kB / 365.6 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.0154, allocations: 370.1 kB / 365.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0154, allocations: 0 / 365.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.01556, allocations: 195.6 kB / 366.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.01602, allocations: 140.1 kB / 366.3 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.01746, allocations: 1.383 MB / 367.7 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.01754, allocations: 131.3 kB / 367.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.01764, allocations: 60.66 kB / 367.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.01771, allocations: 40.5 kB / 367.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01771, allocations: 0 / 367.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of Templates: time 0.006727/0.02444, allocations: 5.365 MB / 373.2 MB, free: 15.15 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.30237156432122]