Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006959/0.006958, allocations: 187.5 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.48/3.48, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00178/0.00178, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006096/0.0006097, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1836, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004101/0.1878, allocations: 1.388 MB / 375.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.19, allocations: 0.6287 MB / 376.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.1903, allocations: 4 kB / 376.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.885e-05/0.1904, allocations: 11.86 kB / 376.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1907, allocations: 39.91 kB / 376.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1911, allocations: 43.81 kB / 376.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.1914, allocations: 87.81 kB / 376.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1917, allocations: 15.98 kB / 376.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1918, allocations: 47.84 kB / 376.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.192, allocations: 39.84 kB / 376.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.192, allocations: 4 kB / 376.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1922, allocations: 20 kB / 376.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.1923, allocations: 15.92 kB / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.1924, allocations: 41.64 kB / 376.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1927, allocations: 92.05 kB / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1927, allocations: 0 / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1927, allocations: 0 / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1928, allocations: 0 / 377 MB, free: 12.95 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000939/0.1937, allocations: 395.2 kB / 377.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.089e-05/0.1938, allocations: 12.02 kB / 377.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.1942, allocations: 27.8 kB / 377.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1946, allocations: 186.9 kB / 377.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.1947, allocations: 8.188 kB / 377.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.1947, allocations: 8 kB / 377.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.1952, allocations: 95.12 kB / 377.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1952, allocations: 8 kB / 377.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1953, allocations: 4 kB / 377.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1953, allocations: 0 / 377.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.1956, allocations: 60.47 kB / 377.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1972, allocations: 486 kB / 378.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.1978, allocations: 82.52 kB / 378.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1979, allocations: 4 kB / 378.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.198, allocations: 38.52 kB / 378.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.526e-06/0.198, allocations: 0 / 378.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005377/0.1985, allocations: 97.62 kB / 378.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.1986, allocations: 59.34 kB / 378.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1989, allocations: 113.8 kB / 378.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1989, allocations: 29.7 kB / 378.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1991, allocations: 178.3 kB / 378.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.1992, allocations: 31.69 kB / 378.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.1992, allocations: 8 kB / 378.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.1995, allocations: 314.8 kB / 379.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1996, allocations: 23.98 kB / 379.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1998, allocations: 55.42 kB / 379.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2, allocations: 24 kB / 379.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2, allocations: 0 / 379.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004583/0.2005, allocations: 105.5 kB / 379.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.2005, allocations: 11.95 kB / 379.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2006, allocations: 4.094 kB / 379.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.2006, allocations: 0 / 379.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.201, allocations: 31.92 kB / 379.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.201, allocations: 0 / 379.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2012, allocations: 8 kB / 379.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2012, allocations: 4 kB / 379.5 MB, free: 10.25 MB / 282.7 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 (13): * Single equations (assignments): 13 * 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.0002125/0.2015, allocations: 125.8 kB / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.2016, allocations: 7.906 kB / 379.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.2016, allocations: 12.33 kB / 379.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2017, allocations: 4 kB / 379.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.2017, allocations: 4 kB / 379.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.2017, allocations: 0 / 379.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.2023, allocations: 197.6 kB / 379.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2023, allocations: 0 / 379.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.2027, allocations: 27.92 kB / 379.8 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.2028, allocations: 4 kB / 379.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.2028, allocations: 4 kB / 379.8 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.2028, allocations: 3.953 kB / 379.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.2028, allocations: 0 / 379.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.2035, allocations: 203.4 kB / 380.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2036, allocations: 93.09 kB / 380.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.2037, allocations: 0 / 380.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2039, allocations: 0 / 380.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.204, allocations: 12.08 kB / 380.2 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.204, allocations: 7.938 kB / 380.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2041, allocations: 95.7 kB / 380.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2042, allocations: 0 / 380.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006677/0.2049, allocations: 31.84 kB / 380.3 MB, free: 9.336 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (8): * Single equations (assignments): 8 * 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.0002279/0.2051, allocations: 99.19 kB / 380.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.2055, allocations: 55.92 kB / 380.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2055, allocations: 0 / 380.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2057, allocations: 27.98 kB / 380.5 MB, free: 9.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.2063, allocations: 12.33 kB / 380.5 MB, free: 9.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2082, allocations: 0.5422 MB / 381 MB, free: 8.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.2089, allocations: 0.7082 MB / 381.7 MB, free: 7.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.379e-05/0.209, allocations: 15.44 kB / 381.7 MB, free: 7.809 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.209, allocations: 0 / 381.7 MB, free: 7.809 MB / 282.7 MB Notification: Performance of Templates: time 0.006404/0.2154, allocations: 1.246 MB / 383 MB, free: 6.562 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches