Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 185 kB / 23.72 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2409, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003208/0.2441, allocations: 1.793 MB / 424.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2453, allocations: 0.6388 MB / 425 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2454, allocations: 4 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.2456, allocations: 15.8 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.351e-05/0.2457, allocations: 39.7 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.2459, allocations: 55.81 kB / 425.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.2461, allocations: 119.4 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2462, allocations: 23.97 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.2463, allocations: 43.84 kB / 425.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.2464, allocations: 39.86 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.2464, allocations: 8 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.2465, allocations: 23.98 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.2465, allocations: 19.92 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.2466, allocations: 63.66 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2468, allocations: 131.9 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2468, allocations: 0 / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2468, allocations: 0 / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2468, allocations: 0 / 425.6 MB, free: 11.57 MB / 334.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.0005499/0.2474, allocations: 334 kB / 426 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2474, allocations: 12.03 kB / 426 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.2475, allocations: 34.75 kB / 426 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.2476, allocations: 32.86 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2479, allocations: 134.4 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2479, allocations: 8.562 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.2479, allocations: 16.08 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2481, allocations: 92.66 kB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.2481, allocations: 7.984 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2482, allocations: 0 / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2482, allocations: 4 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2483, allocations: 59.91 kB / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.2491, allocations: 426.7 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2493, allocations: 82.52 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.2493, allocations: 24.86 kB / 426.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2494, allocations: 8.203 kB / 426.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2494, allocations: 34.55 kB / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2494, allocations: 0 / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002427/0.2496, allocations: 93.61 kB / 427 MB, free: 10.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2497, allocations: 63.34 kB / 427.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2498, allocations: 125.7 kB / 427.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2498, allocations: 33.7 kB / 427.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.2499, allocations: 108 kB / 427.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2499, allocations: 27.75 kB / 427.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.2499, allocations: 29.7 kB / 427.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2501, allocations: 314.8 kB / 427.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.2502, allocations: 23.98 kB / 427.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.2502, allocations: 47.42 kB / 427.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.2503, allocations: 83.31 kB / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2503, allocations: 0 / 427.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001792/0.2505, allocations: 121.5 kB / 428 MB, free: 9.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2505, allocations: 4 kB / 428 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2505, allocations: 0 / 428 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2506, allocations: 4 kB / 428 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.2507, allocations: 32.02 kB / 428 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2507, allocations: 3.938 kB / 428 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.2507, allocations: 7.953 kB / 428 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2508, allocations: 8 kB / 428 MB, free: 8.965 MB / 334.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 9.848e-05/0.2509, allocations: 117.8 kB / 428.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.2509, allocations: 7.953 kB / 428.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.2509, allocations: 12.38 kB / 428.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2509, allocations: 7.938 kB / 428.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2509, allocations: 3.984 kB / 428.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2509, allocations: 4 kB / 428.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.2512, allocations: 164.7 kB / 428.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2512, allocations: 0 / 428.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2513, allocations: 23.98 kB / 428.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2513, allocations: 0 / 428.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2513, allocations: 3.938 kB / 428.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2513, allocations: 3.938 kB / 428.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2513, allocations: 0 / 428.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.2516, allocations: 207.5 kB / 428.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.2516, allocations: 7.953 kB / 428.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2516, allocations: 0 / 428.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.2517, allocations: 11.92 kB / 428.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.2517, allocations: 3.984 kB / 428.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2517, allocations: 4 kB / 428.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.2518, allocations: 91.27 kB / 428.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2518, allocations: 0 / 428.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.252, allocations: 31.89 kB / 428.7 MB, free: 8.199 MB / 334.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.0005371/0.2525, allocations: 0.741 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.2527, allocations: 63.98 kB / 429.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2527, allocations: 0 / 429.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.2527, allocations: 28 kB / 429.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.253, allocations: 31.38 kB / 429.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.2549, allocations: 1.721 MB / 431.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2553, allocations: 0.7002 MB / 432 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.2553, allocations: 4.438 kB / 432 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.2554, allocations: 27.42 kB / 432 MB, free: 4.738 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2554, allocations: 4 kB / 432 MB, free: 4.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.2864, allocations: 2.448 MB / 434.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.73, allocations: 0 / 434.5 MB, free: 2.422 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.959651972865686]