Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001732/0.001732, allocations: 103.5 kB / 20.44 MB, free: 1.332 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.001933/0.001933, allocations: 188.6 kB / 23.7 MB, free: 4.523 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.553/1.553, allocations: 225.7 MB / 252.5 MB, free: 12.81 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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2499, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01252/0.2624, allocations: 9.017 MB / 432.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007327/0.2698, allocations: 3.046 MB / 435.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.2719, allocations: 71.5 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.2739, allocations: 0.6908 MB / 435.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.2771, allocations: 0.8932 MB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.278, allocations: 407.4 kB / 437.2 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.282, allocations: 2.961 MB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.2841, allocations: 1.332 MB / 441.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.2862, allocations: 1.39 MB / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.2887, allocations: 1.658 MB / 444.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005458/0.2893, allocations: 352 kB / 444.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009175/0.2902, allocations: 447.8 kB / 445.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.2913, allocations: 1.036 MB / 446.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.2928, allocations: 1.291 MB / 447.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005259/0.2981, allocations: 4.718 MB / 452.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2981, allocations: 0 / 452.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2981, allocations: 0 / 452.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.515e-05/0.2982, allocations: 0 / 452.4 MB, free: 1.02 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006943/0.3051, allocations: 3.273 MB / 455.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3052, allocations: 12.03 kB / 455.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/0.3059, allocations: 335 kB / 456 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.3092, allocations: 1.697 MB / 457.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.3094, allocations: 175.3 kB / 457.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.3097, allocations: 235.9 kB / 458.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005604/0.3153, allocations: 3.245 MB / 461.3 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.3154, allocations: 3.953 kB / 461.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.3156, allocations: 92 kB / 461.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.3157, allocations: 108.6 kB / 461.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004816/0.3206, allocations: 2.696 MB / 464.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/0.336, allocations: 8.389 MB / 472.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.3387, allocations: 1.407 MB / 474 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.3409, allocations: 1.054 MB / 475.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.3411, allocations: 48.91 kB / 475.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.3411, allocations: 51.55 kB / 475.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.367e-06/0.3412, allocations: 0 / 475.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01547/0.3566, allocations: 6.324 MB / 481.5 MB, free: 3.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.3567, allocations: 72.72 kB / 481.6 MB, free: 3.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.3594, allocations: 1.607 MB / 483.2 MB, free: 1.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.3595, allocations: 45.7 kB / 483.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.3606, allocations: 1.197 MB / 484.4 MB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/0.3611, allocations: 468 kB / 484.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004919/0.3616, allocations: 283.5 kB / 485.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3617, allocations: 305.1 kB / 485.4 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.3631, allocations: 0.7964 MB / 486.2 MB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.3648, allocations: 1.205 MB / 487.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.368, allocations: 2.09 MB / 489.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.368, allocations: 11.94 kB / 489.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004757/0.3728, allocations: 2.584 MB / 492.1 MB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3728, allocations: 12 kB / 492.1 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.3728, allocations: 12 kB / 492.2 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3738, allocations: 422.5 kB / 492.6 MB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.3752, allocations: 363.4 kB / 492.9 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007604/0.3828, allocations: 6.64 MB / 499.6 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3842, allocations: 115.8 kB / 499.7 MB, free: 456 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.3844, allocations: 60 kB / 499.7 MB, free: 396 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.3858, allocations: 0.7979 MB / 0.4888 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.3861, allocations: 182.8 kB / 0.489 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/0.3904, allocations: 2.28 MB / 0.4912 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.3905, allocations: 23.91 kB / 0.4912 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.3905, allocations: 4 kB / 0.4912 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3905, allocations: 3.984 kB / 0.4912 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008477/0.399, allocations: 4.431 MB / 0.4956 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.399, allocations: 4 kB / 0.4956 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.4, allocations: 240 kB / 0.4958 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.4012, allocations: 455 kB / 0.4962 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.76e-05/0.4013, allocations: 35.98 kB / 0.4963 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009215/0.4105, allocations: 8.086 MB / 0.5042 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-06/0.4105, allocations: 8.031 kB / 0.5042 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/0.4165, allocations: 3.427 MB / 0.5075 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.4176, allocations: 354.7 kB / 0.5078 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.4179, allocations: 35.92 kB / 0.5079 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009191/0.4188, allocations: 83.91 kB / 0.508 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.4191, allocations: 120.8 kB / 0.5081 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/0.4192, allocations: 51.98 kB / 0.5081 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.4209, allocations: 1.085 MB / 0.5092 GB, free: 10.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4209, allocations: 0 / 0.5092 GB, free: 10.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4225, allocations: 0.4999 MB / 0.5097 GB, free: 9.582 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/0.4229, allocations: 198.9 kB / 0.5099 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004267/0.4272, allocations: 2.323 MB / 0.5121 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4272, allocations: 0 / 0.5121 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.43, allocations: 1.548 MB / 0.5136 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.4322, allocations: 412.9 kB / 0.514 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/0.4411, allocations: 5.09 MB / 0.519 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.443, allocations: 1.434 MB / 0.5204 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001324/0.4443, allocations: 426.2 kB / 0.5208 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.4447, allocations: 123.4 kB / 0.5209 GB, free: 13.83 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4447, allocations: 0 / 0.5209 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Templates: time 0.2243/0.669, allocations: 29.78 MB / 0.55 GB, free: 101.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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: 5.811779692769051]