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.001872/0.001872, allocations: 74.89 kB / 19.93 MB, free: 1.785 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.00242/0.00242, allocations: 166.8 kB / 23.21 MB, free: 4.906 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.589/1.589, allocations: 158.6 MB / 185 MB, free: 6.395 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.2186/0.2186, allocations: 32.38 MB / 269.6 MB, free: 4.66 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: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.37e-05/4.621e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005206/0.005252, allocations: 2.978 MB / 410.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.007262, allocations: 0.8302 MB / 411.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.007505, allocations: 15.88 kB / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.007753, allocations: 71.25 kB / 411.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.008183, allocations: 190.3 kB / 411.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.008492, allocations: 111.8 kB / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.009241, allocations: 0.6216 MB / 412.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.009539, allocations: 113.8 kB / 412.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.01004, allocations: 351.2 kB / 412.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.01036, allocations: 179.5 kB / 412.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.01043, allocations: 44 kB / 412.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.01052, allocations: 44 kB / 412.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.01064, allocations: 107.6 kB / 413 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.01089, allocations: 187.6 kB / 413.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.01163, allocations: 0.5607 MB / 413.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.01164, allocations: 0 / 413.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.01164, allocations: 0 / 413.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.01165, allocations: 0 / 413.7 MB, free: 12.62 MB / 350.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.001334/0.01299, allocations: 0.6998 MB / 414.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.01304, allocations: 8.031 kB / 414.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.01316, allocations: 56.61 kB / 414.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.01371, allocations: 256.5 kB / 414.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.01378, allocations: 33.38 kB / 414.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.01388, allocations: 64.31 kB / 414.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.0147, allocations: 427.2 kB / 415.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.01474, allocations: 20.06 kB / 415.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.01478, allocations: 16.38 kB / 415.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.01481, allocations: 15.94 kB / 415.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005823/0.01539, allocations: 308.4 kB / 415.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.01721, allocations: 0.9404 MB / 416.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/0.01805, allocations: 389 kB / 416.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.01836, allocations: 189.3 kB / 417.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.01841, allocations: 8.5 kB / 417.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.01845, allocations: 47 kB / 417.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.01845, allocations: 0 / 417.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.003347/0.0218, allocations: 1.856 MB / 419 MB, free: 7.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.02189, allocations: 85.61 kB / 419.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.02217, allocations: 233.9 kB / 419.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.02221, allocations: 33.7 kB / 419.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.02242, allocations: 217.2 kB / 419.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.02267, allocations: 281.6 kB / 419.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.02287, allocations: 118.7 kB / 420 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.0231, allocations: 350.8 kB / 420.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.0234, allocations: 165.9 kB / 420.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.02387, allocations: 274.1 kB / 420.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.02466, allocations: 478.5 kB / 421.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.02466, allocations: 3.938 kB / 421.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001054/0.02572, allocations: 0.571 MB / 421.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.02574, allocations: 4 kB / 421.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.02576, allocations: 4 kB / 421.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.02579, allocations: 11.94 kB / 421.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/0.02677, allocations: 175.8 kB / 422 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.0268, allocations: 7.938 kB / 422 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.02723, allocations: 36.27 kB / 422 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.02729, allocations: 24 kB / 422 MB, free: 3.938 MB / 350.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.0003909/0.02768, allocations: 177.7 kB / 422.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.02782, allocations: 47.7 kB / 422.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.02798, allocations: 51.61 kB / 422.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.02799, allocations: 8 kB / 422.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.028, allocations: 0 / 422.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.02803, allocations: 7.984 kB / 422.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.03102, allocations: 1.293 MB / 423.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.03103, allocations: 4 kB / 423.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.03204, allocations: 151.8 kB / 423.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.03206, allocations: 8.344 kB / 423.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.03211, allocations: 23.98 kB / 423.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.03213, allocations: 8 kB / 423.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.03213, allocations: 4 kB / 423.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.03406, allocations: 0.9091 MB / 424.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.03419, allocations: 47.64 kB / 424.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.03435, allocations: 23.94 kB / 424.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.03479, allocations: 16 kB / 424.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.03491, allocations: 52.34 kB / 424.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.03496, allocations: 28 kB / 424.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.03522, allocations: 161.2 kB / 425 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03522, allocations: 0 / 425 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009068/0.03612, allocations: 144 kB / 425.2 MB, free: 0.6445 MB / 350.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.0002503/0.03637, allocations: 119.1 kB / 425.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.03751, allocations: 436.6 kB / 425.7 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.03751, allocations: 4.125 kB / 425.7 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.03804, allocations: 226.5 kB / 425.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.03949, allocations: 129.4 kB / 426.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.04332, allocations: 1.369 MB / 427.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.04376, allocations: 242 kB / 427.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002923/0.04405, allocations: 60.66 kB / 427.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.04421, allocations: 40.5 kB / 427.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.04421, allocations: 0 / 427.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01911/0.06332, allocations: 5.333 MB / 433.1 MB, free: 8.684 MB / 366.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 -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.586591139435768]