Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.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.001279/0.001279, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001414/0.001414, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 55.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09486, allocations: 53.33 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003419/0.09828, allocations: 1.996 MB / 428.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.09943, allocations: 0.6974 MB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.09952, allocations: 3.938 kB / 429 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.09964, allocations: 23.8 kB / 429 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.09972, allocations: 35.64 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.09996, allocations: 51.86 kB / 429.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1002, allocations: 147.3 kB / 429.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1003, allocations: 25.09 kB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1004, allocations: 55.84 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.1005, allocations: 55.72 kB / 429.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1005, allocations: 12 kB / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/0.1006, allocations: 27.98 kB / 429.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.1006, allocations: 23.86 kB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.1007, allocations: 67.66 kB / 429.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1009, allocations: 147.4 kB / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1009, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1009, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1009, allocations: 0 / 429.7 MB, free: 1.434 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00071/0.1017, allocations: 450.7 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1017, allocations: 12.03 kB / 430.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.1018, allocations: 38.75 kB / 430.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.1019, allocations: 28.88 kB / 430.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1022, allocations: 200.1 kB / 430.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1022, allocations: 12.31 kB / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.1023, allocations: 20.12 kB / 430.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.1026, allocations: 109.6 kB / 430.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1026, allocations: 8 kB / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1026, allocations: 3.984 kB / 430.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1026, allocations: 4 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.1029, allocations: 91.88 kB / 430.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.1038, allocations: 0.5128 MB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.1041, allocations: 94.56 kB / 431.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1043, allocations: 52.81 kB / 431.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1043, allocations: 0 / 431.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1043, allocations: 30.75 kB / 431.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.1043, allocations: 7.938 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004591/0.1048, allocations: 145.5 kB / 431.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1048, allocations: 59.34 kB / 431.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1049, allocations: 139.8 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1049, allocations: 29.7 kB / 431.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.105, allocations: 116.2 kB / 431.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1051, allocations: 31.7 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.1051, allocations: 29.7 kB / 431.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1052, allocations: 322.8 kB / 432.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1054, allocations: 35.98 kB / 432.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1055, allocations: 78.77 kB / 432.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.1058, allocations: 99.34 kB / 432.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1058, allocations: 4 kB / 432.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003279/0.1061, allocations: 153.4 kB / 432.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1061, allocations: 8.375 kB / 432.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1061, allocations: 0 / 432.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1061, allocations: 0 / 432.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1063, allocations: 39.91 kB / 432.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1063, allocations: 3.938 kB / 432.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.1064, allocations: 8.094 kB / 432.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1064, allocations: 8 kB / 432.6 MB, free: 14.23 MB / 366.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 (14): * Single equations (assignments): 14 * 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.0001085/0.1065, allocations: 125.7 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1065, allocations: 11.94 kB / 432.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.1066, allocations: 12.72 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1066, allocations: 4 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1066, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1066, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1068, allocations: 229.3 kB / 433 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1068, allocations: 0 / 433 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.107, allocations: 27.98 kB / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.107, allocations: 0 / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.107, allocations: 0 / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.107, allocations: 0 / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.107, allocations: 4 kB / 433 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.1075, allocations: 271.2 kB / 433.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1076, allocations: 85.06 kB / 433.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1076, allocations: 0 / 433.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1077, allocations: 12.03 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1078, allocations: 4 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.1078, allocations: 3.984 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.57e-05/0.1078, allocations: 105.9 kB / 433.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1078, allocations: 0 / 433.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1081, allocations: 35.89 kB / 433.5 MB, free: 13.22 MB / 366.1 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 (9): * Single equations (assignments): 9 * 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.0007906/0.1089, allocations: 0.795 MB / 434.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.1092, allocations: 91.94 kB / 434.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1092, allocations: 0 / 434.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1093, allocations: 43.91 kB / 434.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1096, allocations: 28.14 kB / 434.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.112, allocations: 1.868 MB / 436.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1124, allocations: 0.708 MB / 437 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.1124, allocations: 12.53 kB / 437 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.1125, allocations: 35.44 kB / 437.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1125, allocations: 0 / 437.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.1387, allocations: 2.731 MB / 439.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.262, allocations: 13.3 kB / 439.8 MB, free: 6.855 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.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: 10.912876317976043]