Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001684/0.001684, allocations: 75.03 kB / 21.24 MB, free: 0.5469 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.002239/0.002239, allocations: 161 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 55.77 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09341, allocations: 53.33 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003359/0.09677, allocations: 1.946 MB / 380.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.09792, allocations: 0.6429 MB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.098, allocations: 3.938 kB / 381.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.09812, allocations: 15.8 kB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.09821, allocations: 39.7 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.09847, allocations: 55.73 kB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.09869, allocations: 147.3 kB / 381.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.09883, allocations: 25.3 kB / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.09894, allocations: 55.73 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.09905, allocations: 55.75 kB / 381.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.09908, allocations: 8 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.09916, allocations: 27.98 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.09919, allocations: 19.92 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.09926, allocations: 51.73 kB / 382 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.09952, allocations: 155.4 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09952, allocations: 3.938 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09952, allocations: 0 / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.09953, allocations: 3.984 kB / 382.1 MB, free: 12.43 MB / 350.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.0006625/0.1002, allocations: 365.7 kB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1002, allocations: 8.031 kB / 382.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.1004, allocations: 24.88 kB / 382.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1007, allocations: 142.4 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1007, allocations: 8.375 kB / 382.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.1007, allocations: 12.38 kB / 382.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.101, allocations: 126.1 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1011, allocations: 3.984 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1011, allocations: 8 kB / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1011, allocations: 4 kB / 382.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1014, allocations: 87.92 kB / 382.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.1023, allocations: 431.2 kB / 383.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1026, allocations: 98.55 kB / 383.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1027, allocations: 40.83 kB / 383.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1028, allocations: 0 / 383.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1028, allocations: 38.5 kB / 383.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.1028, allocations: 0 / 383.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004841/0.1033, allocations: 153.9 kB / 383.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1033, allocations: 51.41 kB / 383.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1034, allocations: 136.8 kB / 383.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1035, allocations: 25.8 kB / 383.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.1036, allocations: 120.1 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1036, allocations: 35.73 kB / 384 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.1036, allocations: 25.72 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1038, allocations: 318.8 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1039, allocations: 43.97 kB / 384.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1041, allocations: 71.34 kB / 384.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1043, allocations: 111.3 kB / 384.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1043, allocations: 0 / 384.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003434/0.1047, allocations: 149.5 kB / 384.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1047, allocations: 8 kB / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1047, allocations: 0 / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1047, allocations: 0 / 384.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1049, allocations: 35.92 kB / 384.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1049, allocations: 0 / 384.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.105, allocations: 15.92 kB / 384.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.105, allocations: 4 kB / 384.8 MB, free: 9.578 MB / 350.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.00011/0.1051, allocations: 121.9 kB / 384.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.1051, allocations: 19.84 kB / 384.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.1052, allocations: 16.78 kB / 384.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1052, allocations: 0 / 384.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1052, allocations: 3.938 kB / 384.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1052, allocations: 3.984 kB / 384.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1054, allocations: 137.3 kB / 385.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1054, allocations: 0 / 385.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.1056, allocations: 31.92 kB / 385.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1056, allocations: 3.938 kB / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1056, allocations: 0 / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.1056, allocations: 8 kB / 385.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1056, allocations: 0 / 385.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.1061, allocations: 255.4 kB / 385.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.1061, allocations: 15.91 kB / 385.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1061, allocations: 7.938 kB / 385.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1063, allocations: 12.03 kB / 385.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1063, allocations: 7.984 kB / 385.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1063, allocations: 4.188 kB / 385.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.063e-05/0.1064, allocations: 107.2 kB / 385.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1064, allocations: 0 / 385.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1067, allocations: 31.94 kB / 385.5 MB, free: 8.75 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.0001062/0.1068, allocations: 99.23 kB / 385.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1071, allocations: 91.81 kB / 385.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1071, allocations: 4 kB / 385.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1072, allocations: 44.16 kB / 385.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1075, allocations: 15.98 kB / 385.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.1083, allocations: 472.7 kB / 386.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.082e-05/0.1084, allocations: 97.17 kB / 386.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.1085, allocations: 12.48 kB / 386.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1085, allocations: 12.5 kB / 386.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1085, allocations: 0 / 386.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of Templates: time 0.004155/0.1127, allocations: 1.206 MB / 387.6 MB, free: 6.684 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.209375875070691]