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.001513/0.001513, allocations: 107.6 kB / 21.18 MB, free: 452 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.001428/0.001428, allocations: 213.5 kB / 24.47 MB, free: 3.777 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.341/1.341, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_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.001826/0.001826, allocations: 51.92 kB / 347.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2461, allocations: 49.15 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002838/0.249, allocations: 1.722 MB / 398.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.25, allocations: 0.6331 MB / 398.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.2501, allocations: 6.219 kB / 398.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.2503, allocations: 13.27 kB / 398.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.2504, allocations: 39.72 kB / 398.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2506, allocations: 50.94 kB / 398.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.2508, allocations: 122.5 kB / 398.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2509, allocations: 14.69 kB / 398.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.251, allocations: 49.45 kB / 399 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.321e-05/0.2511, allocations: 38.19 kB / 399 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.2511, allocations: 8 kB / 399 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.2512, allocations: 26.08 kB / 399 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.2512, allocations: 17.36 kB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.2513, allocations: 42.16 kB / 399.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.2515, allocations: 140.2 kB / 399.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2515, allocations: 0 / 399.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2515, allocations: 1.312 kB / 399.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2515, allocations: 0 / 399.2 MB, free: 7.008 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.0004644/0.252, allocations: 327.5 kB / 399.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.252, allocations: 13.05 kB / 399.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.252, allocations: 44.47 kB / 399.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.2522, allocations: 25.22 kB / 399.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2525, allocations: 137 kB / 399.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2525, allocations: 9.094 kB / 399.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.2525, allocations: 18.58 kB / 399.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.2527, allocations: 88.16 kB / 399.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2527, allocations: 6.094 kB / 399.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2527, allocations: 11.94 kB / 399.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2528, allocations: 2.625 kB / 399.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.2529, allocations: 63.12 kB / 400 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.2535, allocations: 407.2 kB / 400.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.2538, allocations: 78.45 kB / 400.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.2538, allocations: 27.95 kB / 400.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2538, allocations: 1.656 kB / 400.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.2539, allocations: 32.16 kB / 400.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2539, allocations: 0 / 400.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002207/0.2541, allocations: 102.1 kB / 400.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2541, allocations: 57.45 kB / 400.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.2542, allocations: 124 kB / 400.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2542, allocations: 25.7 kB / 400.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.2542, allocations: 116.8 kB / 400.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2543, allocations: 30.66 kB / 401 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.2543, allocations: 26.33 kB / 401 MB, free: 5.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.2543, allocations: 320.3 kB / 401.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.2544, allocations: 25.09 kB / 401.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.2545, allocations: 49.55 kB / 401.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.2545, allocations: 80.75 kB / 401.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2546, allocations: 1.453 kB / 401.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001542/0.2547, allocations: 108.1 kB / 401.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2547, allocations: 7.156 kB / 401.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2547, allocations: 1.188 kB / 401.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2547, allocations: 1.062 kB / 401.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2549, allocations: 35.31 kB / 401.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2549, allocations: 2.156 kB / 401.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.2549, allocations: 14.42 kB / 401.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2549, allocations: 5 kB / 401.6 MB, free: 5.023 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.903e-05/0.255, allocations: 123 kB / 401.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.255, allocations: 7.672 kB / 401.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.2551, allocations: 10.84 kB / 401.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2551, allocations: 5.25 kB / 401.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2551, allocations: 5.5 kB / 401.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2551, allocations: 0.7031 kB / 401.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.2552, allocations: 162.9 kB / 401.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2552, allocations: 0.6094 kB / 401.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.2554, allocations: 20.12 kB / 401.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2554, allocations: 0.5625 kB / 401.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2554, allocations: 5.125 kB / 402 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2554, allocations: 9.562 kB / 402 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2554, allocations: 0 / 402 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.2556, allocations: 202.6 kB / 402.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.2556, allocations: 6.844 kB / 402.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2556, allocations: 9.672 kB / 402.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.2557, allocations: 4.844 kB / 402.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.2557, allocations: 9.031 kB / 402.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2557, allocations: 1.953 kB / 402.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.2558, allocations: 96.52 kB / 402.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2558, allocations: 1.5 kB / 402.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.256, allocations: 31.05 kB / 402.3 MB, free: 4.422 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.0003557/0.2564, allocations: 0.7376 MB / 403.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.2566, allocations: 59 kB / 403.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2566, allocations: 0.9688 kB / 403.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.2566, allocations: 25.95 kB / 403.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2569, allocations: 25.78 kB / 403.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2583, allocations: 1.715 MB / 404.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.2584, allocations: 87.98 kB / 405 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.2584, allocations: 5.781 kB / 405 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.2585, allocations: 30.69 kB / 405 MB, free: 2.082 MB / 318.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2585, allocations: 0 / 405 MB, free: 2.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.2891, allocations: 2.859 MB / 407.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.34, allocations: 13.3 kB / 407.9 MB, free: 0.9258 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: 14.047828228212893]