Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.00125/0.00125, allocations: 120.1 kB / 18.49 MB, free: 4.59 MB / 14.72 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.001312/0.001312, allocations: 214.2 kB / 21.45 MB, free: 1.637 MB / 14.72 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 1.43/1.43, allocations: 230.4 MB / 254.7 MB, free: 14.85 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 53.36 MB / 427 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.004041/0.1169, allocations: 2.377 MB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1183, allocations: 0.7751 MB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1184, allocations: 7.938 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1186, allocations: 35.59 kB / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1189, allocations: 87.31 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.1192, allocations: 115.7 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.1196, allocations: 302.6 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1198, allocations: 52.72 kB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1199, allocations: 115.5 kB / 430.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1201, allocations: 123.5 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.1202, allocations: 20 kB / 431 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.1202, allocations: 24 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.1203, allocations: 59.69 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1204, allocations: 123.4 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1208, allocations: 270.8 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1208, allocations: 0 / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1208, allocations: 3.938 kB / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.1208, allocations: 4 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.2015/0.3223, allocations: 0.5503 MB / 432.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3224, allocations: 8.75 kB / 432.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/0.3224, allocations: 9.844 kB / 432.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.3224, allocations: 57.69 kB / 432.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.3225, allocations: 31.33 kB / 432.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.3229, allocations: 262 kB / 432.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3229, allocations: 12.38 kB / 432.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.3229, allocations: 30.88 kB / 432.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.3234, allocations: 239.4 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3234, allocations: 6.422 kB / 432.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.3234, allocations: 10.19 kB / 432.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3234, allocations: 5.531 kB / 432.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.3238, allocations: 163.2 kB / 432.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3249, allocations: 1.013 MB / 433.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.3254, allocations: 282.8 kB / 434.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3255, allocations: 88.09 kB / 434.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3256, allocations: 4.875 kB / 434.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3256, allocations: 45.47 kB / 434.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.3256, allocations: 0 / 434.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001593/0.3272, allocations: 1.337 MB / 435.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3272, allocations: 140 kB / 435.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3274, allocations: 202.5 kB / 436 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3274, allocations: 30.73 kB / 436 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.3275, allocations: 155.4 kB / 436.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.3275, allocations: 128 kB / 436.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.3276, allocations: 66.22 kB / 436.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.3277, allocations: 342.4 kB / 436.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3279, allocations: 82.58 kB / 436.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.3281, allocations: 200.6 kB / 437 MB, free: 7.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.3286, allocations: 307.7 kB / 437.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3286, allocations: 1.375 kB / 437.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005755/0.3292, allocations: 342.3 kB / 437.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3292, allocations: 7.016 kB / 437.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.3292, allocations: 7.562 kB / 437.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.3292, allocations: 5.656 kB / 437.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.3296, allocations: 96.2 kB / 437.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3296, allocations: 7.297 kB / 437.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.3298, allocations: 19.83 kB / 437.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.3298, allocations: 16.81 kB / 437.7 MB, free: 7.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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.000114/0.3299, allocations: 146.1 kB / 437.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.33, allocations: 23.61 kB / 437.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.3301, allocations: 35.62 kB / 437.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3301, allocations: 3.969 kB / 438 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.3301, allocations: 5.469 kB / 438 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3301, allocations: 7 kB / 438 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.3313, allocations: 0.967 MB / 438.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3313, allocations: 2.656 kB / 438.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.3317, allocations: 79.5 kB / 439 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.3317, allocations: 8.438 kB / 439 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.3317, allocations: 10.55 kB / 439 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.3318, allocations: 8.797 kB / 439 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3318, allocations: 4.016 kB / 439 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.3326, allocations: 0.7046 MB / 439.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3326, allocations: 99.22 kB / 439.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.3327, allocations: 14.14 kB / 439.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.3329, allocations: 11.83 kB / 439.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.333, allocations: 41.23 kB / 439.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.333, allocations: 9.172 kB / 439.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.3332, allocations: 145.4 kB / 440.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3332, allocations: 1.219 kB / 440.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.3337, allocations: 61.56 kB / 440.1 MB, free: 5.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (32): * Single equations (assignments): 32 * 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.001155/0.3349, allocations: 1.243 MB / 441.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.3356, allocations: 243 kB / 441.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3356, allocations: 0 / 441.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.3358, allocations: 120.3 kB / 441.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.3367, allocations: 71.78 kB / 441.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.3407, allocations: 3.492 MB / 445.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3409, allocations: 0.7628 MB / 446 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.3411, allocations: 34.48 kB / 446.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3412, allocations: 82.14 kB / 446.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3412, allocations: 0 / 446.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.3674, allocations: 5.848 MB / 452 MB, free: 408 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/8.72, allocations: 6.844 kB / 452 MB, free: 404 kB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 13.298340141947847]