Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.004666/0.004666, allocations: 114.2 kB / 21.97 MB, free: 5.199 MB / 14.72 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.001297/0.001297, allocations: 210.4 kB / 25.27 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] 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 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 47.92 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2203, allocations: 49.16 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002391/0.2227, allocations: 1.783 MB / 398.9 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007911/0.2235, allocations: 0.6998 MB / 399.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.2235, allocations: 1.406 kB / 399.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2236, allocations: 23.03 kB / 399.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.2237, allocations: 32.47 kB / 399.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2239, allocations: 49.33 kB / 399.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.224, allocations: 123.1 kB / 399.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.2241, allocations: 21.25 kB / 399.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.2242, allocations: 41.36 kB / 399.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.2243, allocations: 52.33 kB / 399.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2243, allocations: 12.34 kB / 399.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.246e-05/0.2244, allocations: 29.59 kB / 400 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.2244, allocations: 19.45 kB / 400 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.2244, allocations: 53.5 kB / 400 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.2246, allocations: 130.8 kB / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2246, allocations: 1.375 kB / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2246, allocations: 0 / 400.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.2246, allocations: 0 / 400.2 MB, free: 6.977 MB / 318.1 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.0003954/0.225, allocations: 334.6 kB / 400.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.225, allocations: 17.95 kB / 400.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.378e-05/0.225, allocations: 2.75 kB / 400.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.2251, allocations: 43.86 kB / 400.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.2252, allocations: 24.91 kB / 400.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2254, allocations: 138.4 kB / 400.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2254, allocations: 13.14 kB / 400.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.2254, allocations: 14.48 kB / 400.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2256, allocations: 92.05 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2256, allocations: 0.9844 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2256, allocations: 5.469 kB / 400.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2256, allocations: 6.531 kB / 400.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2257, allocations: 62.3 kB / 400.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.2262, allocations: 414.3 kB / 401.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.2265, allocations: 105 kB / 401.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.2265, allocations: 28.95 kB / 401.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.2265, allocations: 1.531 kB / 401.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.2265, allocations: 39.62 kB / 401.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.2265, allocations: 0 / 401.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001082/0.2276, allocations: 387.2 kB / 401.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.2276, allocations: 57.28 kB / 401.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.2277, allocations: 127.4 kB / 402.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2277, allocations: 27.83 kB / 402.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.2277, allocations: 107.3 kB / 402.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2278, allocations: 58 kB / 402.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.2278, allocations: 27.44 kB / 402.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.2278, allocations: 321 kB / 402.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.2279, allocations: 30.81 kB / 402.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.2279, allocations: 60 kB / 402.7 MB, free: 4.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2281, allocations: 97.12 kB / 402.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2281, allocations: 0 / 402.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001627/0.2282, allocations: 133.7 kB / 402.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2282, allocations: 6.438 kB / 402.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2282, allocations: 1 kB / 402.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2282, allocations: 6.375 kB / 402.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2284, allocations: 37.22 kB / 402.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2284, allocations: 2.125 kB / 402.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.2284, allocations: 1.219 kB / 402.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2284, allocations: 8.75 kB / 403 MB, free: 4.754 MB / 318.1 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 (17): * Single equations (assignments): 17 * 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 5.137e-05/0.2285, allocations: 114.9 kB / 403.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.2285, allocations: 13.59 kB / 403.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.2286, allocations: 14.94 kB / 403.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2286, allocations: 10.19 kB / 403.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2286, allocations: 0 / 403.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2286, allocations: 4.547 kB / 403.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.229, allocations: 386.9 kB / 403.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.229, allocations: 5.641 kB / 403.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2291, allocations: 30.06 kB / 403.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2291, allocations: 1.312 kB / 403.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2291, allocations: 7.234 kB / 403.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2291, allocations: 1.125 kB / 403.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2291, allocations: 1.188 kB / 403.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.2293, allocations: 259.3 kB / 403.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.2293, allocations: 12.36 kB / 403.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2294, allocations: 2.25 kB / 403.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.2294, allocations: 9.375 kB / 403.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.2295, allocations: 11.38 kB / 403.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.2295, allocations: 3.094 kB / 403.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.2295, allocations: 93.55 kB / 403.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2295, allocations: 0 / 403.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.2297, allocations: 25.66 kB / 403.9 MB, free: 3.957 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.000322/0.2301, allocations: 0.7814 MB / 404.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2302, allocations: 75.53 kB / 404.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2302, allocations: 0 / 404.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.2303, allocations: 37.86 kB / 404.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2306, allocations: 28.09 kB / 404.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2319, allocations: 1.829 MB / 406.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.232, allocations: 0.7047 MB / 407.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.2321, allocations: 16.84 kB / 407.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.2321, allocations: 31.64 kB / 407.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2321, allocations: 0 / 407.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2552, allocations: 2.805 MB / 410.2 MB, free: 148 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.59, allocations: 14.7 kB / 410.3 MB, free: 136 kB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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: 12.759185059985612]