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.0008926/0.0008926, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007918/0.0007918, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8537/0.8537, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1413/0.1413, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.693e-06/1.693e-06, allocations: 0 / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.179e-05, allocations: 6.219 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002974/0.003005, allocations: 2.986 MB / 411.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.004244, allocations: 0.8227 MB / 411.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.004428, allocations: 15.88 kB / 411.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.004592, allocations: 75.23 kB / 412 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.004832, allocations: 186.4 kB / 412.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.005041, allocations: 107.8 kB / 412.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.005421, allocations: 0.6294 MB / 412.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.005625, allocations: 113.9 kB / 413 MB, free: 12.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.005882, allocations: 347.2 kB / 413.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.006055, allocations: 175.5 kB / 413.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.006108, allocations: 44 kB / 413.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.006156, allocations: 44 kB / 413.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.006218, allocations: 107.6 kB / 413.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.006346, allocations: 187.6 kB / 413.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.006996, allocations: 0.5646 MB / 414.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006998, allocations: 4 kB / 414.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006999, allocations: 0 / 414.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.007009, allocations: 0 / 414.5 MB, free: 11.32 MB / 394.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.0007215/0.00773, allocations: 0.6803 MB / 415.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.007767, allocations: 20.02 kB / 415.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.007832, allocations: 64.56 kB / 415.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.008112, allocations: 248.5 kB / 415.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.00814, allocations: 37.38 kB / 415.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.008193, allocations: 52.33 kB / 415.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.008613, allocations: 435.2 kB / 416 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.008635, allocations: 8.141 kB / 416 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.008662, allocations: 20.31 kB / 416 MB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.008671, allocations: 15.94 kB / 416 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.008985, allocations: 316.4 kB / 416.3 MB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.009948, allocations: 0.9404 MB / 417.3 MB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.01043, allocations: 385.1 kB / 417.7 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.01062, allocations: 191.9 kB / 417.8 MB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.01063, allocations: 8.5 kB / 417.9 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.01066, allocations: 46.98 kB / 417.9 MB, free: 7.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.983e-06/0.01066, allocations: 4.031 kB / 417.9 MB, free: 7.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.001867/0.01252, allocations: 1.846 MB / 419.7 MB, free: 5.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.01257, allocations: 89.55 kB / 419.8 MB, free: 5.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01271, allocations: 233.9 kB / 420.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.01273, allocations: 37.7 kB / 420.1 MB, free: 5.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.01282, allocations: 217.2 kB / 420.3 MB, free: 5.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.01295, allocations: 281.6 kB / 420.6 MB, free: 4.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.01304, allocations: 114.7 kB / 420.7 MB, free: 4.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01315, allocations: 358.8 kB / 421.1 MB, free: 4.457 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.01332, allocations: 157.9 kB / 421.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.01354, allocations: 276.9 kB / 421.5 MB, free: 3.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.01414, allocations: 474.5 kB / 421.9 MB, free: 3.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01414, allocations: 3.938 kB / 421.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004925/0.01463, allocations: 0.5632 MB / 422.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01465, allocations: 8 kB / 422.5 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01466, allocations: 4.281 kB / 422.5 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01467, allocations: 8 kB / 422.5 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.01498, allocations: 183.7 kB / 422.7 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01499, allocations: 8 kB / 422.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.01511, allocations: 20 kB / 422.7 MB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.01514, allocations: 28 kB / 422.8 MB, free: 2.664 MB / 394.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.0001311/0.01527, allocations: 189.5 kB / 422.9 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.01532, allocations: 43.75 kB / 423 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.01538, allocations: 55.62 kB / 423 MB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01539, allocations: 8 kB / 423 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.0154, allocations: 0 / 423 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.0154, allocations: 3.984 kB / 423.1 MB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.0165, allocations: 1.297 MB / 424.4 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01651, allocations: 4 kB / 424.4 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.01683, allocations: 159.8 kB / 424.5 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.01684, allocations: 4 kB / 424.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.01686, allocations: 20 kB / 424.5 MB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01686, allocations: 4 kB / 424.5 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01687, allocations: 7.938 kB / 424.5 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.01756, allocations: 0.9132 MB / 425.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.0176, allocations: 39.72 kB / 425.5 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.01763, allocations: 28.05 kB / 425.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.01776, allocations: 16 kB / 425.5 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.0178, allocations: 52.34 kB / 425.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01782, allocations: 24 kB / 425.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.01791, allocations: 161.2 kB / 425.8 MB, free: 15.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01791, allocations: 3.938 kB / 425.8 MB, free: 15.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.0182, allocations: 151.9 kB / 425.9 MB, free: 15.34 MB / 410.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 9.688e-05/0.0183, allocations: 119.1 kB / 426 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.01873, allocations: 432.8 kB / 426.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01873, allocations: 0 / 426.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.01891, allocations: 227.7 kB / 426.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.01942, allocations: 129 kB / 426.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.02074, allocations: 1.394 MB / 428.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.02089, allocations: 246 kB / 428.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.02097, allocations: 48.5 kB / 428.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02097, allocations: 0 / 428.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of Templates: time 0.005819/0.02679, allocations: 6.255 MB / 434.7 MB, free: 6.43 MB / 410.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/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.536788938567042]