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.001697/0.001697, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002157/0.002157, allocations: 212 kB / 24.47 MB, free: 3.547 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.399/1.399, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",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.001832/0.001832, allocations: 51.92 kB / 347.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2501, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002668/0.2528, allocations: 1.718 MB / 398.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2538, allocations: 0.6384 MB / 398.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.2539, allocations: 1.125 kB / 398.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.254, allocations: 17.58 kB / 398.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.2541, allocations: 42.2 kB / 398.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.2543, allocations: 45.08 kB / 398.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.2545, allocations: 123.7 kB / 398.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2546, allocations: 20.48 kB / 398.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.2546, allocations: 44.92 kB / 399 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.3e-05/0.2547, allocations: 40.59 kB / 399 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.2548, allocations: 15.91 kB / 399 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.2548, allocations: 26.48 kB / 399.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.2549, allocations: 22.41 kB / 399.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.2549, allocations: 46.03 kB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2551, allocations: 126.4 kB / 399.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2551, allocations: 1.25 kB / 399.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2551, allocations: 0 / 399.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2551, allocations: 0 / 399.3 MB, free: 7.035 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.0004494/0.2556, allocations: 339.2 kB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2556, allocations: 13.95 kB / 399.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.2556, allocations: 40.09 kB / 399.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2558, allocations: 28.2 kB / 399.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.256, allocations: 146.4 kB / 399.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.256, allocations: 8.469 kB / 399.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2561, allocations: 10.66 kB / 399.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.2562, allocations: 93.28 kB / 399.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2562, allocations: 0 / 399.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2563, allocations: 5.25 kB / 399.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2563, allocations: 3.172 kB / 399.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2564, allocations: 65.38 kB / 400 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.257, allocations: 398.8 kB / 400.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.2572, allocations: 101.5 kB / 400.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.2573, allocations: 28.09 kB / 400.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2573, allocations: 1.375 kB / 400.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2573, allocations: 38.12 kB / 400.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2573, allocations: 0 / 400.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001177/0.2585, allocations: 394.6 kB / 400.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.2585, allocations: 54.78 kB / 401 MB, free: 5.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.2586, allocations: 131.2 kB / 401.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.2586, allocations: 27.77 kB / 401.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.2586, allocations: 111.1 kB / 401.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.2587, allocations: 49.16 kB / 401.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.2587, allocations: 29.98 kB / 401.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.2587, allocations: 320.2 kB / 401.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.2588, allocations: 33.39 kB / 401.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.2589, allocations: 58.86 kB / 401.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.259, allocations: 91.22 kB / 401.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.259, allocations: 1.438 kB / 401.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001815/0.2592, allocations: 129.4 kB / 401.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2592, allocations: 14.52 kB / 402 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2592, allocations: 1.469 kB / 402 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2592, allocations: 2.156 kB / 402 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2593, allocations: 32.88 kB / 402 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.2593, allocations: 5.375 kB / 402 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.2594, allocations: 6.016 kB / 402 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.2594, allocations: 3.969 kB / 402 MB, free: 4.824 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 6.037e-05/0.2595, allocations: 120.1 kB / 402.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.2595, allocations: 8.812 kB / 402.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.2595, allocations: 19.3 kB / 402.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2595, allocations: 1.188 kB / 402.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2595, allocations: 5.469 kB / 402.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2595, allocations: 0.6562 kB / 402.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.26, allocations: 388.5 kB / 402.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.26, allocations: 1.125 kB / 402.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.2602, allocations: 30.39 kB / 402.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2602, allocations: 6.125 kB / 402.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2602, allocations: 5.312 kB / 402.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2602, allocations: 1.719 kB / 402.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2602, allocations: 1.156 kB / 402.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2604, allocations: 250.8 kB / 402.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.2604, allocations: 15.75 kB / 402.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2605, allocations: 3.031 kB / 402.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.2605, allocations: 5.094 kB / 402.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.2606, allocations: 11.89 kB / 402.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2606, allocations: 3.125 kB / 402.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.2606, allocations: 98.31 kB / 403 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2606, allocations: 0 / 403 MB, free: 4.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.2609, allocations: 29.12 kB / 403 MB, free: 4.027 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.0003599/0.2612, allocations: 0.7838 MB / 403.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.2614, allocations: 80.55 kB / 403.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2614, allocations: 0 / 403.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.2615, allocations: 37.36 kB / 403.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2618, allocations: 23.81 kB / 403.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2633, allocations: 1.826 MB / 405.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.352e-05/0.2634, allocations: 94.08 kB / 405.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.36e-05/0.2635, allocations: 17.16 kB / 405.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.2635, allocations: 28.11 kB / 405.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2635, allocations: 0 / 405.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06653/0.33, allocations: 3.159 MB / 409 MB, free: 416 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.52, allocations: 13.56 kB / 409 MB, free: 404 kB / 318.1 MB " [Timeout remaining time 648] (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: 13.911955285817385]