Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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.001868/0.001868, allocations: 88.33 kB / 20.95 MB, free: 3.457 MB / 18.57 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.002171/0.002171, allocations: 161.7 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3507/0.3507, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.624e-06/2.624e-06, allocations: 0 / 377.2 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.754e-05, allocations: 2.312 kB / 377.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005203/0.005241, allocations: 2.926 MB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.007531, allocations: 1.024 MB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.007899, allocations: 11.94 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.008208, allocations: 63.3 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.008656, allocations: 130.8 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.009692, allocations: 191.4 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008116/0.0105, allocations: 477.6 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.01075, allocations: 71.98 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.01126, allocations: 263.4 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.01154, allocations: 135.6 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.01161, allocations: 32 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.01178, allocations: 51.98 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.01187, allocations: 83.66 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.01206, allocations: 139.7 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.01272, allocations: 466.4 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01272, allocations: 0 / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01272, allocations: 0 / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.01275, allocations: 0 / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001411/0.01416, allocations: 0.6144 MB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.0142, allocations: 8.031 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.01463, allocations: 96.62 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.01516, allocations: 252.5 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.0152, allocations: 25.38 kB / 384.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.01529, allocations: 44.33 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.01604, allocations: 356.2 kB / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.01608, allocations: 12.08 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.01613, allocations: 19.94 kB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.01614, allocations: 8 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.01673, allocations: 243.6 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.01926, allocations: 1.364 MB / 386.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.0201, allocations: 399.8 kB / 386.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.02038, allocations: 129.1 kB / 386.8 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.02042, allocations: 15.98 kB / 386.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.02046, allocations: 50.5 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.02047, allocations: 0 / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003632/0.0241, allocations: 1.546 MB / 388.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003811/0.02448, allocations: 187.9 kB / 388.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.0248, allocations: 241.8 kB / 388.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.02485, allocations: 41.7 kB / 388.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.02502, allocations: 196.7 kB / 389.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.02522, allocations: 194.3 kB / 389.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.02537, allocations: 94.34 kB / 389.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.0256, allocations: 350.7 kB / 389.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.02589, allocations: 117.2 kB / 389.8 MB, free: 5.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.02635, allocations: 303.9 kB / 390.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.02713, allocations: 449.7 kB / 390.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.02713, allocations: 11.88 kB / 390.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001048/0.02818, allocations: 0.5048 MB / 391.1 MB, free: 4.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.02821, allocations: 10.03 kB / 391.1 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.02822, allocations: 12.38 kB / 391.1 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.02825, allocations: 12 kB / 391.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.02881, allocations: 143.8 kB / 391.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.02883, allocations: 11.94 kB / 391.2 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.0291, allocations: 24 kB / 391.3 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.02914, allocations: 24 kB / 391.3 MB, free: 4.277 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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 prepare postOptimizeDAE: time 0.0002266/0.02937, allocations: 173.6 kB / 391.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.02956, allocations: 51.81 kB / 391.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.02986, allocations: 127.3 kB / 391.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.02987, allocations: 8 kB / 391.6 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.02988, allocations: 4 kB / 391.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.02989, allocations: 4 kB / 391.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.03212, allocations: 1.124 MB / 392.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.03212, allocations: 4.312 kB / 392.8 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.03273, allocations: 127.8 kB / 392.9 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.03274, allocations: 7.938 kB / 392.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.03278, allocations: 19.98 kB / 392.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.03279, allocations: 4 kB / 392.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.0328, allocations: 8 kB / 392.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.03419, allocations: 1.007 MB / 393.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.03427, allocations: 31.77 kB / 394 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.03434, allocations: 23.92 kB / 394 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.03476, allocations: 20.19 kB / 394 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.03486, allocations: 47.81 kB / 394.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.03489, allocations: 16 kB / 394.1 MB, free: 1.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.0351, allocations: 173.2 kB / 394.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0351, allocations: 0 / 394.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.03589, allocations: 96 kB / 394.3 MB, free: 1.074 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0002057/0.0361, allocations: 115.1 kB / 394.5 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008489/0.03695, allocations: 336.7 kB / 394.8 MB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.03695, allocations: 0 / 394.8 MB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.03731, allocations: 160.9 kB / 394.9 MB, free: 480 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.03843, allocations: 100.9 kB / 395 MB, free: 384 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.04118, allocations: 1.205 MB / 396.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.04148, allocations: 204.5 kB / 396.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.04171, allocations: 51.28 kB / 396.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.04182, allocations: 36.5 kB / 396.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04182, allocations: 0 / 396.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of Templates: time 0.01026/0.05208, allocations: 3.84 MB / 400.4 MB, free: 11.02 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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: 4.914780406979844]