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.001489/0.001489, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00161/0.00161, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 7.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 59.84 kB / 378.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2394, allocations: 53.41 MB / 431.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003317/0.2427, allocations: 1.936 MB / 433.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2439, allocations: 0.639 MB / 434.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.244, allocations: 0 / 434.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2441, allocations: 27.8 kB / 434.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.2442, allocations: 39.62 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2445, allocations: 59.8 kB / 434.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2446, allocations: 147.2 kB / 434.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2448, allocations: 23.41 kB / 434.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.2449, allocations: 51.8 kB / 434.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.245, allocations: 63.75 kB / 434.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.245, allocations: 12 kB / 434.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.2451, allocations: 31.98 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.2451, allocations: 23.86 kB / 434.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.2452, allocations: 47.8 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.2454, allocations: 151.4 kB / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2454, allocations: 0 / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2454, allocations: 0 / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2454, allocations: 0 / 435.1 MB, free: 3.25 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.0006621/0.2461, allocations: 365.7 kB / 435.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2461, allocations: 11.97 kB / 435.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.839e-05/0.2461, allocations: 8.188 kB / 435.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.2462, allocations: 50.67 kB / 435.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2464, allocations: 24.88 kB / 435.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2466, allocations: 142.4 kB / 435.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2466, allocations: 4.375 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.2467, allocations: 15.94 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.247, allocations: 113.6 kB / 435.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.247, allocations: 7.984 kB / 435.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.247, allocations: 4 kB / 435.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.247, allocations: 0 / 435.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.2473, allocations: 87.94 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.2481, allocations: 454.5 kB / 436.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.2485, allocations: 106.5 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.2486, allocations: 36.84 kB / 436.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2486, allocations: 7.984 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2487, allocations: 34.55 kB / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.2487, allocations: 0 / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004572/0.2491, allocations: 145.7 kB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.2492, allocations: 59.41 kB / 436.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2493, allocations: 136.1 kB / 436.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2493, allocations: 25.7 kB / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.2494, allocations: 120.2 kB / 437 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.2494, allocations: 35.69 kB / 437.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.2495, allocations: 25.72 kB / 437.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2497, allocations: 322.8 kB / 437.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2498, allocations: 43.97 kB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2499, allocations: 67.34 kB / 437.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.2502, allocations: 111.3 kB / 437.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2502, allocations: 7.875 kB / 437.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003057/0.2505, allocations: 141.5 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2505, allocations: 16.39 kB / 437.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2505, allocations: 4 kB / 437.8 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2505, allocations: 4 kB / 437.8 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2507, allocations: 27.98 kB / 437.8 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2507, allocations: 7.875 kB / 437.8 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.2508, allocations: 11.98 kB / 437.9 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2508, allocations: 8 kB / 437.9 MB, free: 296 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.000103/0.2509, allocations: 118.4 kB / 438 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.251, allocations: 11.91 kB / 438 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.251, allocations: 16.72 kB / 438 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.251, allocations: 4 kB / 438 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.251, allocations: 0 / 438 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.251, allocations: 3.984 kB / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.2513, allocations: 176.6 kB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2513, allocations: 0 / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.2514, allocations: 27.97 kB / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2515, allocations: 0 / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2515, allocations: 7.938 kB / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2515, allocations: 0 / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2515, allocations: 0 / 438.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.2519, allocations: 267.3 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.2519, allocations: 11.94 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.252, allocations: 8 kB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2521, allocations: 4 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.2521, allocations: 3.984 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2521, allocations: 4 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.347e-05/0.2522, allocations: 105.9 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2522, allocations: 0 / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.2525, allocations: 32 kB / 438.7 MB, free: 15.43 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.0007475/0.2532, allocations: 0.7905 MB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.2535, allocations: 99.8 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2535, allocations: 0 / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.2536, allocations: 48.09 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2539, allocations: 23.36 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.2562, allocations: 1.882 MB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.571e-05/0.2563, allocations: 97.03 kB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.2564, allocations: 8.5 kB / 441.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.2564, allocations: 35.42 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2564, allocations: 0 / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2799, allocations: 3.003 MB / 444.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.93, allocations: 11.92 kB / 444.6 MB, free: 9.445 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 13.240250573959202]