Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 53.4 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003478/0.2569, allocations: 2.018 MB / 433.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2581, allocations: 0.7012 MB / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2583, allocations: 0 / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.2584, allocations: 23.8 kB / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.2585, allocations: 39.62 kB / 433.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2588, allocations: 59.8 kB / 434 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.259, allocations: 147.3 kB / 434.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2591, allocations: 17.31 kB / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2592, allocations: 55.78 kB / 434.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2594, allocations: 55.77 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2594, allocations: 8 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.2595, allocations: 27.98 kB / 434.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2595, allocations: 27.86 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.2596, allocations: 63.67 kB / 434.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.2599, allocations: 155.8 kB / 434.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2599, allocations: 4 kB / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2599, allocations: 0 / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2599, allocations: 0 / 434.6 MB, free: 3.301 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006909/0.2606, allocations: 361.7 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2606, allocations: 12.03 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2607, allocations: 38.75 kB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.2609, allocations: 32.88 kB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.2612, allocations: 146.3 kB / 435.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2612, allocations: 8.375 kB / 435.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.2612, allocations: 8.125 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2615, allocations: 122.2 kB / 435.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2615, allocations: 0 / 435.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2616, allocations: 4 kB / 435.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2616, allocations: 7.984 kB / 435.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.2618, allocations: 95.86 kB / 435.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000926/0.2628, allocations: 470.3 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.2631, allocations: 102.6 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2632, allocations: 44.81 kB / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2632, allocations: 0 / 436 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.544e-05/0.2633, allocations: 38.69 kB / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2633, allocations: 0 / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004424/0.2638, allocations: 153.5 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.2638, allocations: 51.41 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2639, allocations: 136.5 kB / 436.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2639, allocations: 25.7 kB / 436.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.264, allocations: 116.2 kB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.2641, allocations: 35.69 kB / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.2642, allocations: 25.72 kB / 436.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2643, allocations: 326.8 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2645, allocations: 35.97 kB / 436.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.2646, allocations: 70.78 kB / 437 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.2648, allocations: 115.3 kB / 437.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2648, allocations: 0 / 437.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003237/0.2652, allocations: 145.4 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2652, allocations: 8 kB / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2652, allocations: 7.938 kB / 437.2 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2652, allocations: 4.094 kB / 437.2 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2654, allocations: 31.98 kB / 437.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2654, allocations: 0 / 437.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-05/0.2655, allocations: 11.98 kB / 437.3 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2655, allocations: 4 kB / 437.3 MB, free: 352 kB / 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 (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.0001159/0.2656, allocations: 130.1 kB / 437.4 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2656, allocations: 7.953 kB / 437.4 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.2657, allocations: 16.7 kB / 437.4 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2657, allocations: 11.94 kB / 437.5 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2657, allocations: 3.938 kB / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2657, allocations: 0 / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.266, allocations: 188.6 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.266, allocations: 0 / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2662, allocations: 31.97 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2662, allocations: 0 / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2662, allocations: 4 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.2662, allocations: 7.984 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2662, allocations: 0 / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.2667, allocations: 255.4 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.2667, allocations: 11.94 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2667, allocations: 4 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2668, allocations: 4 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2669, allocations: 7.984 kB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.2669, allocations: 8 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.624e-05/0.267, allocations: 105.4 kB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.267, allocations: 0 / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.2672, allocations: 31.95 kB / 438.1 MB, free: 15.46 MB / 350.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.0008014/0.268, allocations: 0.7942 MB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.2683, allocations: 95.97 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2683, allocations: 0 / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.2685, allocations: 48.03 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2688, allocations: 24.34 kB / 439.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2713, allocations: 1.881 MB / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2717, allocations: 0.708 MB / 441.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.2717, allocations: 12.36 kB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.2718, allocations: 35.42 kB / 441.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2718, allocations: 0 / 441.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.3057, allocations: 2.887 MB / 444.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.06, allocations: 2.656 kB / 444.6 MB, free: 8.949 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable inertia.phi in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.524081982002826]