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.001256/0.001256, allocations: 102.8 kB / 21.96 MB, free: 5.215 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.001282/0.001282, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.279/1.279, allocations: 207.7 MB / 236.1 MB, free: 9.797 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.001919/0.001919, allocations: 52.34 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2193, allocations: 49.17 MB / 397.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002402/0.2217, allocations: 1.715 MB / 398.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.2225, allocations: 0.6362 MB / 399.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.2226, allocations: 1.375 kB / 399.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.572e-05/0.2227, allocations: 14.14 kB / 399.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.2227, allocations: 38.17 kB / 399.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2229, allocations: 48.34 kB / 399.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.2231, allocations: 123.2 kB / 399.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2232, allocations: 25.62 kB / 399.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.2232, allocations: 44.47 kB / 399.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.2233, allocations: 49.3 kB / 399.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2233, allocations: 8.969 kB / 399.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.2234, allocations: 24.83 kB / 399.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.2234, allocations: 21.83 kB / 399.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.2235, allocations: 42.08 kB / 399.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2236, allocations: 130.5 kB / 400 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2236, allocations: 1.344 kB / 400 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2236, allocations: 0 / 400 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2237, allocations: 0 / 400 MB, free: 7.215 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.0004191/0.2241, allocations: 335.2 kB / 400.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2241, allocations: 14.08 kB / 400.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.939e-05/0.2241, allocations: 10.8 kB / 400.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.2241, allocations: 43.84 kB / 400.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2243, allocations: 26.47 kB / 400.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2245, allocations: 149.1 kB / 400.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2245, allocations: 8.156 kB / 400.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2245, allocations: 14.28 kB / 400.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2247, allocations: 93.62 kB / 400.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2247, allocations: 0 / 400.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2247, allocations: 1.5 kB / 400.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2247, allocations: 1.344 kB / 400.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2248, allocations: 68.09 kB / 400.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.2253, allocations: 398 kB / 401.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.2255, allocations: 97.47 kB / 401.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.2256, allocations: 32.05 kB / 401.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2256, allocations: 1.406 kB / 401.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.2256, allocations: 36.94 kB / 401.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.2256, allocations: 0 / 401.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001113/0.2267, allocations: 392.5 kB / 401.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.2267, allocations: 57.25 kB / 401.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.2268, allocations: 124.3 kB / 401.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.2268, allocations: 30.36 kB / 401.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.2268, allocations: 103.2 kB / 402 MB, free: 5.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.2269, allocations: 54.22 kB / 402.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2269, allocations: 28.48 kB / 402.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.2269, allocations: 324.1 kB / 402.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.227, allocations: 31.09 kB / 402.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.227, allocations: 65.86 kB / 402.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.2272, allocations: 91.84 kB / 402.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2272, allocations: 0 / 402.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001645/0.2273, allocations: 131.1 kB / 402.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2273, allocations: 5.875 kB / 402.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2273, allocations: 1.219 kB / 402.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2273, allocations: 2.406 kB / 402.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2275, allocations: 40.55 kB / 402.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2275, allocations: 1.797 kB / 402.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.2275, allocations: 10.22 kB / 402.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2275, allocations: 3.969 kB / 402.8 MB, free: 4.996 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.227e-05/0.2276, allocations: 120.3 kB / 402.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.2276, allocations: 8.016 kB / 402.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.2277, allocations: 15.97 kB / 402.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2277, allocations: 9 kB / 403 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2277, allocations: 1 kB / 403 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2277, allocations: 1.312 kB / 403 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.2281, allocations: 388.3 kB / 403.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2281, allocations: 5.859 kB / 403.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.2282, allocations: 33.47 kB / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2282, allocations: 1.375 kB / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2282, allocations: 2.062 kB / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2282, allocations: 3.312 kB / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2282, allocations: 0 / 403.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2284, allocations: 245.3 kB / 403.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.2284, allocations: 19.78 kB / 403.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2285, allocations: 1.938 kB / 403.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.2285, allocations: 2.188 kB / 403.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.2286, allocations: 18.73 kB / 403.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2286, allocations: 4.656 kB / 403.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.2286, allocations: 92.58 kB / 403.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2286, allocations: 1.188 kB / 403.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.2288, allocations: 24.66 kB / 403.8 MB, free: 4.203 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.0003025/0.2291, allocations: 0.777 MB / 404.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2293, allocations: 84.92 kB / 404.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2293, allocations: 0 / 404.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/0.2293, allocations: 37.91 kB / 404.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2297, allocations: 23.66 kB / 404.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.231, allocations: 1.836 MB / 406.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.231, allocations: 94.16 kB / 406.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.2311, allocations: 9.281 kB / 406.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.2311, allocations: 35.36 kB / 406.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2311, allocations: 1.188 kB / 406.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.2545, allocations: 2.852 MB / 409.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.84, allocations: 14.62 kB / 409.5 MB, free: 0.9336 MB / 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.99379332899116]