Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001519/0.001519, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001773/0.001773, allocations: 169.3 kB / 24.27 MB, free: 144 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.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3353/0.3353, allocations: 32.79 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.957e-05, allocations: 2.312 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005236/0.005265, allocations: 3.005 MB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.007299, allocations: 0.8061 MB / 379.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.007841, allocations: 15.88 kB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.008266, allocations: 83.17 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007974/0.009063, allocations: 182.4 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.009541, allocations: 107.8 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01063, allocations: 0.6218 MB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.01097, allocations: 113.9 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000688/0.01165, allocations: 351.2 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.01199, allocations: 175.5 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.182e-05/0.01208, allocations: 44 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.0122, allocations: 44 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.01233, allocations: 103.6 kB / 380.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.0126, allocations: 183.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007894/0.01339, allocations: 0.5684 MB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.0134, allocations: 3.938 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.0134, allocations: 0 / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.01343, allocations: 4 kB / 381.6 MB, free: 14.59 MB / 362.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.001517/0.01494, allocations: 0.6843 MB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.01499, allocations: 12.02 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.01518, allocations: 88.61 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.01576, allocations: 268.4 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.0158, allocations: 33.38 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.01591, allocations: 56.33 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/0.01675, allocations: 439.1 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.01678, allocations: 12.09 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.01683, allocations: 24.36 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.01685, allocations: 11.94 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.01743, allocations: 308.5 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.01926, allocations: 0.9483 MB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.02003, allocations: 385.2 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.02037, allocations: 191.1 kB / 385 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.0204, allocations: 12.5 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.02044, allocations: 43.05 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.02044, allocations: 0 / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003359/0.0238, allocations: 1.881 MB / 387 MB, free: 8.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.02388, allocations: 89.55 kB / 387.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.02417, allocations: 241.8 kB / 387.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.02421, allocations: 33.7 kB / 387.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.02438, allocations: 209.4 kB / 387.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.02463, allocations: 277.6 kB / 387.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.0248, allocations: 122.6 kB / 387.9 MB, free: 8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.02502, allocations: 362.8 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.02532, allocations: 153.9 kB / 388.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.02572, allocations: 272.9 kB / 388.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.02647, allocations: 474.6 kB / 389.2 MB, free: 6.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.02648, allocations: 3.938 kB / 389.2 MB, free: 6.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009848/0.02746, allocations: 0.6023 MB / 389.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.02748, allocations: 5.875 kB / 389.8 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02749, allocations: 4 kB / 389.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.02751, allocations: 8 kB / 389.8 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.02814, allocations: 184 kB / 390 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.02816, allocations: 8 kB / 390 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.02841, allocations: 24 kB / 390 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.02845, allocations: 28 kB / 390 MB, free: 5.809 MB / 362.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.0002249/0.02868, allocations: 181.5 kB / 390.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.02881, allocations: 75.7 kB / 390.3 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.02893, allocations: 51.62 kB / 390.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.02894, allocations: 8 kB / 390.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.02895, allocations: 0 / 390.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.02895, allocations: 7.984 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.03111, allocations: 1.278 MB / 391.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.03111, allocations: 4.344 kB / 391.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.03178, allocations: 163.8 kB / 391.8 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.03179, allocations: 4 kB / 391.8 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.03184, allocations: 24.06 kB / 391.8 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.03185, allocations: 7.938 kB / 391.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.03185, allocations: 4 kB / 391.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.03319, allocations: 0.9319 MB / 392.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.03326, allocations: 43.72 kB / 392.8 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.03332, allocations: 19.98 kB / 392.8 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.0336, allocations: 20 kB / 392.8 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.03369, allocations: 60.28 kB / 392.9 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.03372, allocations: 20 kB / 392.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.03389, allocations: 165.2 kB / 393.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03389, allocations: 0 / 393.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005564/0.03445, allocations: 140 kB / 393.2 MB, free: 2.488 MB / 362.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 0.0001653/0.03462, allocations: 123.6 kB / 393.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.0354, allocations: 444.1 kB / 393.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03541, allocations: 0 / 393.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.03575, allocations: 219.3 kB / 394 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.03663, allocations: 141.7 kB / 394.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.03897, allocations: 1.377 MB / 395.5 MB, free: 128 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.03927, allocations: 246 kB / 395.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.03947, allocations: 56.66 kB / 395.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.03958, allocations: 48.44 kB / 395.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.7e-07/0.03958, allocations: 0 / 395.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01174/0.05132, allocations: 5.356 MB / 401.2 MB, free: 10.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.038116600015201]