Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009152/0.0009152, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 162.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9238/0.9238, allocations: 177 MB / 205.2 MB, free: 4.961 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.351e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002386/0.002399, allocations: 2.487 MB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.003179, allocations: 0.6151 MB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.003274, allocations: 11.94 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.003394, allocations: 39.64 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.003519, allocations: 87.2 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.003643, allocations: 59.91 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.003851, allocations: 306.4 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.003982, allocations: 85.89 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.004132, allocations: 171.7 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004234, allocations: 87.7 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.00426, allocations: 24 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.469e-05/0.004285, allocations: 24 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.004319, allocations: 55.81 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.004383, allocations: 103.8 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.004568, allocations: 195.2 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004569, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00457, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.004573, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0004001/0.004973, allocations: 448.4 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.005001, allocations: 11.98 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.005047, allocations: 40.91 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.005204, allocations: 165.9 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005219, allocations: 21.03 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.005252, allocations: 32.31 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.005429, allocations: 171.4 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.005444, allocations: 3.938 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.005458, allocations: 12 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.005466, allocations: 11.98 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.005548, allocations: 76.48 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.006083, allocations: 468.6 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.006271, allocations: 138.4 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.006324, allocations: 56.83 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.006335, allocations: 4 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.006355, allocations: 34.56 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.112e-06/0.006356, allocations: 0 / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005971/0.006953, allocations: 0.555 MB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.006978, allocations: 55.41 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.007108, allocations: 142.6 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.007121, allocations: 29.7 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.007168, allocations: 140.7 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.007212, allocations: 107.1 kB / 280.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.007257, allocations: 45.69 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.007326, allocations: 338.8 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.007355, allocations: 27.92 kB / 280.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.00741, allocations: 64.73 kB / 280.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.007506, allocations: 127.3 kB / 281 MB, free: 9.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.007508, allocations: 0 / 281 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001255/0.007633, allocations: 141.5 kB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.007645, allocations: 11.94 kB / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00765, allocations: 0 / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007661, allocations: 0 / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.007859, allocations: 100.3 kB / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.007863, allocations: 4 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.007912, allocations: 8 kB / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.007919, allocations: 4 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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 6.18e-05/0.007981, allocations: 129.7 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.008008, allocations: 23.92 kB / 281.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.008039, allocations: 25.97 kB / 281.4 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.008041, allocations: 4 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008043, allocations: 4 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.008048, allocations: 3.984 kB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.008392, allocations: 381.4 kB / 281.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008394, allocations: 0 / 281.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.00858, allocations: 83.94 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.008584, allocations: 7.984 kB / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.008594, allocations: 4 kB / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008596, allocations: 4 kB / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008597, allocations: 8 kB / 281.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.008801, allocations: 295.8 kB / 282.2 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.008815, allocations: 15.91 kB / 282.2 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.008832, allocations: 8.062 kB / 282.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.00889, allocations: 11.98 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.008926, allocations: 19.91 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.008933, allocations: 8 kB / 282.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.257e-05/0.008955, allocations: 34.19 kB / 282.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008955, allocations: 0 / 282.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.00912, allocations: 63.98 kB / 282.4 MB, free: 7.754 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.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 (28): * Single equations (assignments): 28 * 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 6.687e-05/0.009186, allocations: 80.42 kB / 282.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.009318, allocations: 120.6 kB / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.009322, allocations: 7.938 kB / 282.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.009377, allocations: 64.72 kB / 282.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.009575, allocations: 44.27 kB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/0.01029, allocations: 0.5723 MB / 283.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.01033, allocations: 80.66 kB / 283.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.01039, allocations: 29.88 kB / 283.4 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.01048, allocations: 87.36 kB / 283.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01048, allocations: 0 / 283.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of Templates: time 0.003744/0.01422, allocations: 2.432 MB / 285.9 MB, free: 4.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.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: 2.534233076032251]