Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.6 MB / 243.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007797/0.0007797, allocations: 102.2 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3081/0.3081, allocations: 44.83 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002627, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 62.95 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.002947/0.2882, allocations: 3.557 MB / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2898, allocations: 1.06 MB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.2901, allocations: 12.44 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2903, allocations: 71.23 kB / 0.5205 GB, free: 33.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.2906, allocations: 172.4 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.291, allocations: 148.1 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005191/0.2915, allocations: 0.7088 MB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.2918, allocations: 212.2 kB / 0.5217 GB, free: 33.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.2921, allocations: 258.4 kB / 0.5219 GB, free: 32.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.2923, allocations: 292.4 kB / 0.5222 GB, free: 32.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.2924, allocations: 30.56 kB / 0.5222 GB, free: 32.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2926, allocations: 63.8 kB / 0.5223 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.2926, allocations: 111.8 kB / 0.5224 GB, free: 32.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.2929, allocations: 328.5 kB / 0.5227 GB, free: 32.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.2933, allocations: 0.5486 MB / 0.5232 GB, free: 32.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2933, allocations: 0 / 0.5232 GB, free: 32.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2933, allocations: 0 / 0.5232 GB, free: 32.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2933, allocations: 0 / 0.5232 GB, free: 32.39 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001394/0.2947, allocations: 0.9032 MB / 0.5241 GB, free: 31.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2947, allocations: 8.531 kB / 0.5241 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005742/0.2953, allocations: 160.1 kB / 0.5243 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.2957, allocations: 399 kB / 0.5246 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.2957, allocations: 42.44 kB / 0.5247 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.2958, allocations: 68.83 kB / 0.5248 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.2968, allocations: 0.6425 MB / 0.5254 GB, free: 31.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.2968, allocations: 7.188 kB / 0.5254 GB, free: 31.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.2969, allocations: 23.75 kB / 0.5254 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2969, allocations: 18.69 kB / 0.5254 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009983/0.2979, allocations: 0.5655 MB / 0.526 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.3004, allocations: 2.183 MB / 0.5281 GB, free: 29.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3015, allocations: 0.7214 MB / 0.5288 GB, free: 29.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.302, allocations: 362.5 kB / 0.5292 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.3021, allocations: 97 kB / 0.5293 GB, free: 28.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3022, allocations: 52.61 kB / 0.5293 GB, free: 28.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.3022, allocations: 0 / 0.5293 GB, free: 28.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.006551/0.3087, allocations: 4.616 MB / 0.5338 GB, free: 25.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.3088, allocations: 227.2 kB / 0.534 GB, free: 25.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.3092, allocations: 358.7 kB / 0.5344 GB, free: 25.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.3092, allocations: 46.95 kB / 0.5344 GB, free: 25.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3093, allocations: 269.9 kB / 0.5347 GB, free: 25.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3095, allocations: 409.2 kB / 0.5351 GB, free: 24.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3096, allocations: 18.62 kB / 0.5351 GB, free: 24.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.3096, allocations: 384.2 kB / 0.5354 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.3102, allocations: 333.1 kB / 0.5358 GB, free: 24.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.3108, allocations: 0.5162 MB / 0.5363 GB, free: 23.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3121, allocations: 0.8958 MB / 0.5371 GB, free: 23.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3121, allocations: 0 / 0.5371 GB, free: 23.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001559/0.3137, allocations: 1.03 MB / 0.5381 GB, free: 23.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3137, allocations: 11.81 kB / 0.5382 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3137, allocations: 2.625 kB / 0.5382 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3137, allocations: 10.94 kB / 0.5382 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.3147, allocations: 294.3 kB / 0.5385 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.3147, allocations: 14.03 kB / 0.5385 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.3151, allocations: 61.86 kB / 0.5385 GB, free: 23.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.3152, allocations: 41.25 kB / 0.5386 GB, free: 23.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.3155, allocations: 234 kB / 0.5388 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.3156, allocations: 80.31 kB / 0.5389 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.316, allocations: 221.2 kB / 0.5391 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3161, allocations: 15.62 kB / 0.5391 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.3161, allocations: 2.906 kB / 0.5391 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3161, allocations: 7.328 kB / 0.5391 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.3193, allocations: 2.383 MB / 0.5414 GB, free: 21.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3193, allocations: 3.625 kB / 0.5414 GB, free: 21.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.3203, allocations: 259.9 kB / 0.5417 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.3203, allocations: 8 kB / 0.5417 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.3204, allocations: 33.62 kB / 0.5417 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.3204, allocations: 11.44 kB / 0.5417 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3204, allocations: 7.969 kB / 0.5417 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.3228, allocations: 1.95 MB / 0.5436 GB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3231, allocations: 197.1 kB / 0.5438 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.3232, allocations: 36.23 kB / 0.5439 GB, free: 19.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.3237, allocations: 51.81 kB / 0.5439 GB, free: 19.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.3239, allocations: 89.95 kB / 0.544 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.324, allocations: 32.25 kB / 0.544 GB, free: 19.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002642/0.3242, allocations: 245.1 kB / 0.5443 GB, free: 19.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3242, allocations: 2.031 kB / 0.5443 GB, free: 19.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008892/0.3251, allocations: 192.1 kB / 0.5444 GB, free: 19.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.3253, allocations: 147.8 kB / 0.5446 GB, free: 19.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.3269, allocations: 0.8694 MB / 0.5454 GB, free: 19.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3269, allocations: 1.375 kB / 0.5454 GB, free: 19.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008424/0.3277, allocations: 0.5003 MB / 0.5459 GB, free: 19.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.3291, allocations: 127.7 kB / 0.5461 GB, free: 19.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.3323, allocations: 2.682 MB / 0.5487 GB, free: 17.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3328, allocations: 0.9373 MB / 0.5496 GB, free: 16.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.333, allocations: 73.67 kB / 0.5497 GB, free: 16.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.333, allocations: 0 / 0.5497 GB, free: 16.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01364/0.3467, allocations: 8.817 MB / 0.5583 GB, free: 12.83 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches