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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2009, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003354/0.2043, allocations: 2.433 MB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2054, allocations: 0.6077 MB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2055, allocations: 11.94 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.2057, allocations: 39.59 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.2058, allocations: 71.33 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.206, allocations: 55.92 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.2063, allocations: 306.6 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2065, allocations: 110.9 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2067, allocations: 119.6 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2068, allocations: 119.5 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.2069, allocations: 24 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.207, allocations: 24 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.207, allocations: 47.84 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.2071, allocations: 147.3 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.2074, allocations: 288.1 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2074, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2075, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2075, allocations: 0 / 414.3 MB, free: 13.17 MB / 334.1 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.000748/0.2082, allocations: 0.5381 MB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2083, allocations: 8.031 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2083, allocations: 36.56 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.2086, allocations: 239.5 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2086, allocations: 20.94 kB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.2087, allocations: 36.02 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.2091, allocations: 232.8 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2092, allocations: 0 / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.2092, allocations: 8 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2092, allocations: 8 kB / 415.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2096, allocations: 178.1 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.2107, allocations: 0.7577 MB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2112, allocations: 214.5 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.2114, allocations: 108.8 kB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2115, allocations: 7.984 kB / 416.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2115, allocations: 38.5 kB / 416.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.2115, allocations: 0 / 416.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001658/0.2132, allocations: 0.9553 MB / 417.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.2132, allocations: 55.41 kB / 417.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2133, allocations: 151.1 kB / 417.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2134, allocations: 37.7 kB / 417.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.2135, allocations: 148.5 kB / 418.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.2135, allocations: 98.55 kB / 418.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.2136, allocations: 53.7 kB / 418.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2138, allocations: 334.8 kB / 418.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.214, allocations: 71.91 kB / 418.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.2142, allocations: 116.3 kB / 418.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2146, allocations: 203.3 kB / 418.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2146, allocations: 0 / 418.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004777/0.2151, allocations: 265.3 kB / 419.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2151, allocations: 4 kB / 419.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2151, allocations: 0 / 419.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2151, allocations: 4 kB / 419.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2154, allocations: 75.89 kB / 419.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.2154, allocations: 4 kB / 419.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2156, allocations: 16.09 kB / 419.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2156, allocations: 4 kB / 419.3 MB, free: 7.859 MB / 334.1 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 0.0001115/0.2157, allocations: 149.7 kB / 419.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.2158, allocations: 15.81 kB / 419.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.2158, allocations: 30.5 kB / 419.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2158, allocations: 0 / 419.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2158, allocations: 7.984 kB / 419.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.2159, allocations: 88.92 kB / 419.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.2159, allocations: 11.94 kB / 419.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2161, allocations: 19.92 kB / 419.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.2162, allocations: 15.97 kB / 419.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007292/0.2169, allocations: 357.6 kB / 420 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007144/0.2176, allocations: 0.5029 MB / 420.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001904/0.2178, allocations: 92 kB / 420.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.2179, allocations: 123.7 kB / 420.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of Backend: time 2.4e-07/0.2179, allocations: 0 / 420.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.2185, allocations: 216.6 kB / 420.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of SimCode: time 0.001276/0.2198, allocations: 1.19 MB / 422.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of Templates: time 0.00564/0.2254, allocations: 2.633 MB / 424.7 MB, free: 2.344 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches