Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.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.001883/0.001883, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002328/0.002328, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.486/1.486, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.287/0.287, allocations: 46.88 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 83.86 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3224, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004849/0.3272, allocations: 3.181 MB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3291, allocations: 1.091 MB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.3292, allocations: 11.94 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.3294, allocations: 59.38 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.3297, allocations: 130.9 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.3302, allocations: 179.5 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000531/0.3307, allocations: 457.9 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3309, allocations: 87.52 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3311, allocations: 171.3 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.3314, allocations: 179.2 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3314, allocations: 32 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3316, allocations: 63.92 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.3316, allocations: 75.75 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.3318, allocations: 199 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.3324, allocations: 456.9 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3324, allocations: 0 / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3324, allocations: 0 / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3324, allocations: 0 / 0.5674 GB, free: 14.68 MB / 414.1 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.001258/0.3336, allocations: 0.6975 MB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3337, allocations: 8.031 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.334, allocations: 76.62 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.3344, allocations: 298.7 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.3345, allocations: 29.38 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.3345, allocations: 40.36 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.3351, allocations: 363.5 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3352, allocations: 7.938 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.3352, allocations: 16 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3352, allocations: 12 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.3357, allocations: 243.8 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.338, allocations: 1.525 MB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.3387, allocations: 423.2 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.339, allocations: 121.1 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.339, allocations: 12.59 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.339, allocations: 46.5 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.339, allocations: 0 / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003355/0.3424, allocations: 1.978 MB / 0.5731 GB, free: 8.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3425, allocations: 187.9 kB / 0.5733 GB, free: 8.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3428, allocations: 254.9 kB / 0.5735 GB, free: 7.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3428, allocations: 37.7 kB / 0.5735 GB, free: 7.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.343, allocations: 196.8 kB / 0.5737 GB, free: 7.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.3431, allocations: 198.3 kB / 0.5739 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3433, allocations: 102.3 kB / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3434, allocations: 350.7 kB / 0.5743 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.3437, allocations: 117.3 kB / 0.5745 GB, free: 6.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.3441, allocations: 288 kB / 0.5747 GB, free: 6.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.3447, allocations: 465.6 kB / 0.5752 GB, free: 5.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3447, allocations: 0 / 0.5752 GB, free: 5.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008418/0.3456, allocations: 490 kB / 0.5756 GB, free: 5.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3456, allocations: 12.03 kB / 0.5757 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3456, allocations: 4 kB / 0.5757 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3456, allocations: 12 kB / 0.5757 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.3461, allocations: 139.8 kB / 0.5758 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.3462, allocations: 11.94 kB / 0.5758 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.3464, allocations: 31.94 kB / 0.5758 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.3464, allocations: 24 kB / 0.5759 GB, free: 5.156 MB / 414.1 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.0001881/0.3466, allocations: 169.6 kB / 0.576 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.3468, allocations: 39.77 kB / 0.5761 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.347, allocations: 135.3 kB / 0.5762 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.347, allocations: 8 kB / 0.5762 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3471, allocations: 3.938 kB / 0.5762 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3471, allocations: 3.984 kB / 0.5762 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.3491, allocations: 1.249 MB / 0.5774 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3491, allocations: 8.062 kB / 0.5774 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.3497, allocations: 111.9 kB / 0.5775 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.3497, allocations: 4 kB / 0.5775 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.3497, allocations: 15.98 kB / 0.5776 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.3497, allocations: 15.88 kB / 0.5776 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3497, allocations: 4 kB / 0.5776 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3509, allocations: 1.009 MB / 0.5786 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.351, allocations: 113.2 kB / 0.5787 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.3511, allocations: 12 kB / 0.5787 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.3515, allocations: 12 kB / 0.5787 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.3515, allocations: 51.81 kB / 0.5787 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.3516, allocations: 16 kB / 0.5788 GB, free: 2.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3517, allocations: 182 kB / 0.5789 GB, free: 1.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3517, allocations: 0 / 0.5789 GB, free: 1.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006601/0.3524, allocations: 96 kB / 0.579 GB, free: 1.734 MB / 414.1 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.000134/0.3525, allocations: 123.1 kB / 0.5791 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.3532, allocations: 332.1 kB / 0.5795 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3532, allocations: 0 / 0.5795 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.3535, allocations: 172.9 kB / 0.5796 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3545, allocations: 100 kB / 0.5797 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.357, allocations: 1.477 MB / 0.5812 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3575, allocations: 0.8234 MB / 0.582 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3577, allocations: 47.33 kB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.3577, allocations: 35.44 kB / 0.582 GB, free: 14.53 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3577, allocations: 0 / 0.582 GB, free: 14.53 MB / 430.1 MB Notification: Performance of Templates: time 0.00912/0.3669, allocations: 4.086 MB / 0.586 GB, free: 10.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.295677963178605]