Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005135/0.005135, allocations: 100.4 kB / 21.96 MB, free: 5.211 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.001531/0.001531, allocations: 218 kB / 25.26 MB, free: 3.141 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.299/1.299, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_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.001575/0.001575, allocations: 55.91 kB / 348 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2148, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002507/0.2173, allocations: 1.707 MB / 398.8 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.2181, allocations: 0.6369 MB / 399.5 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.2182, allocations: 1.281 kB / 399.5 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.412e-05/0.2183, allocations: 13.7 kB / 399.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.2183, allocations: 42.16 kB / 399.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.2185, allocations: 43.81 kB / 399.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.2187, allocations: 127.1 kB / 399.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.2188, allocations: 21.61 kB / 399.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.2188, allocations: 44.66 kB / 399.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.765e-05/0.2189, allocations: 48.09 kB / 399.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2189, allocations: 6.656 kB / 399.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.968e-05/0.219, allocations: 26.8 kB / 399.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.219, allocations: 21.94 kB / 399.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.2191, allocations: 41.8 kB / 399.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2193, allocations: 132.5 kB / 400 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2193, allocations: 1.125 kB / 400 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2193, allocations: 0 / 400 MB, free: 7.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2193, allocations: 0 / 400 MB, free: 7.031 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.0004425/0.2198, allocations: 328.5 kB / 400.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2198, allocations: 14.08 kB / 400.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.2198, allocations: 10.41 kB / 400.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.2198, allocations: 44.91 kB / 400.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.22, allocations: 27.61 kB / 400.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.2202, allocations: 133.9 kB / 400.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2202, allocations: 12.12 kB / 400.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.2202, allocations: 11.47 kB / 400.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2204, allocations: 91.36 kB / 400.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2204, allocations: 6.016 kB / 400.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2204, allocations: 4 kB / 400.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2204, allocations: 2.625 kB / 400.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.2205, allocations: 62.83 kB / 400.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.2211, allocations: 403.4 kB / 401.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2213, allocations: 82.78 kB / 401.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.2214, allocations: 28.31 kB / 401.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2214, allocations: 2.531 kB / 401.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.2214, allocations: 32.12 kB / 401.3 MB, free: 5.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2214, allocations: 3.938 kB / 401.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002033/0.2216, allocations: 111 kB / 401.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.2216, allocations: 52.38 kB / 401.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.2217, allocations: 118.7 kB / 401.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.2217, allocations: 25.7 kB / 401.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.2217, allocations: 113.2 kB / 401.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2218, allocations: 30.06 kB / 401.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.2218, allocations: 26.98 kB / 401.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.2218, allocations: 324.2 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.2219, allocations: 26.59 kB / 402.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.2219, allocations: 46.81 kB / 402.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.903e-05/0.222, allocations: 83.31 kB / 402.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.222, allocations: 3.938 kB / 402.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001421/0.2222, allocations: 110.8 kB / 402.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2222, allocations: 4.156 kB / 402.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2222, allocations: 1.406 kB / 402.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2222, allocations: 5.25 kB / 402.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2223, allocations: 29.16 kB / 402.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2223, allocations: 0.8125 kB / 402.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.2224, allocations: 19.17 kB / 402.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.2224, allocations: 4 kB / 402.4 MB, free: 5.039 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 (13): * Single equations (assignments): 13 * 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.427e-05/0.2224, allocations: 122.6 kB / 402.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.2224, allocations: 8.703 kB / 402.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2225, allocations: 13.98 kB / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2225, allocations: 2.625 kB / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2225, allocations: 0 / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2225, allocations: 1.734 kB / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2226, allocations: 158.8 kB / 402.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2226, allocations: 0 / 402.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2228, allocations: 25.14 kB / 402.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2228, allocations: 0.6562 kB / 402.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2228, allocations: 9.969 kB / 402.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2228, allocations: 4.609 kB / 402.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2228, allocations: 3.938 kB / 402.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.223, allocations: 206 kB / 403 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.223, allocations: 6.953 kB / 403 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.223, allocations: 9.859 kB / 403 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.2231, allocations: 1.125 kB / 403 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.2231, allocations: 4.984 kB / 403 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2231, allocations: 5.094 kB / 403 MB, free: 4.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.2231, allocations: 96.97 kB / 403.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2231, allocations: 1.406 kB / 403.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.2234, allocations: 31.14 kB / 403.1 MB, free: 4.438 MB / 318.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 (8): * Single equations (assignments): 8 * 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.0002728/0.2236, allocations: 0.7295 MB / 403.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.2238, allocations: 71.31 kB / 403.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2238, allocations: 0 / 403.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.2238, allocations: 21.64 kB / 403.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.2241, allocations: 22.39 kB / 404 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2253, allocations: 1.708 MB / 405.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.629e-05/0.2254, allocations: 88.08 kB / 405.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.2255, allocations: 14.05 kB / 405.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.2255, allocations: 26.22 kB / 405.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2255, allocations: 1.062 kB / 405.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.249, allocations: 2.548 MB / 408.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.64, allocations: 6.656 kB / 408.3 MB, free: 1.32 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.834264261997305]