Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001648/0.001648, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00179/0.00179, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2296, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01204/0.2416, allocations: 9.057 MB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006046/0.2477, allocations: 3.135 MB / 443.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008129/0.2485, allocations: 75.5 kB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.25, allocations: 0.6905 MB / 444.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2521, allocations: 0.8972 MB / 445.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.2529, allocations: 427.4 kB / 445.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.2559, allocations: 2.992 MB / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.2578, allocations: 1.38 MB / 450.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.2594, allocations: 1.39 MB / 451.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.2615, allocations: 1.744 MB / 453.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.262, allocations: 356 kB / 453.7 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008244/0.2628, allocations: 467.8 kB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.2639, allocations: 1.036 MB / 455.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.2652, allocations: 1.299 MB / 456.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.2701, allocations: 4.741 MB / 461.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2701, allocations: 0 / 461.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2701, allocations: 0 / 461.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.706e-05/0.2702, allocations: 0 / 461.2 MB, free: 8.883 MB / 366.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.006495/0.2767, allocations: 3.284 MB / 464.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2767, allocations: 8.031 kB / 464.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2778, allocations: 382.8 kB / 464.9 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.2813, allocations: 1.709 MB / 466.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.2815, allocations: 172.8 kB / 466.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.2819, allocations: 228 kB / 467 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0055/0.2874, allocations: 3.249 MB / 470.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/0.2875, allocations: 7.953 kB / 470.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.2877, allocations: 92 kB / 470.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.2878, allocations: 112.5 kB / 470.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/0.2928, allocations: 2.688 MB / 473.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.3083, allocations: 8.404 MB / 481.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.3109, allocations: 1.403 MB / 483 MB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.3128, allocations: 1.044 MB / 484 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.3131, allocations: 52.95 kB / 484.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.3131, allocations: 43.56 kB / 484.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.056e-06/0.3131, allocations: 0 / 484.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01408/0.3272, allocations: 6.342 MB / 490.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3272, allocations: 64.72 kB / 490.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.3296, allocations: 1.619 MB / 492.1 MB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.3297, allocations: 45.7 kB / 492.2 MB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3307, allocations: 1.193 MB / 493.4 MB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.3312, allocations: 476 kB / 493.8 MB, free: 7.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.3317, allocations: 283.5 kB / 494.1 MB, free: 7.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3318, allocations: 317 kB / 494.4 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.3332, allocations: 0.7925 MB / 495.2 MB, free: 6.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.335, allocations: 1.205 MB / 496.4 MB, free: 4.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.3382, allocations: 2.098 MB / 498.5 MB, free: 2.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3382, allocations: 4 kB / 498.5 MB, free: 2.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004695/0.3429, allocations: 2.581 MB / 0.4893 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3429, allocations: 12.34 kB / 0.4894 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3429, allocations: 16 kB / 0.4894 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.344, allocations: 411.1 kB / 0.4898 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.3454, allocations: 367.4 kB / 0.4901 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/0.353, allocations: 6.65 MB / 0.4966 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3543, allocations: 103.9 kB / 0.4967 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3544, allocations: 67.98 kB / 0.4968 GB, free: 8.16 MB / 414.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.001398/0.3558, allocations: 0.8016 MB / 0.4976 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.3561, allocations: 178.9 kB / 0.4977 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.3604, allocations: 2.283 MB / 0.5 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3604, allocations: 15.98 kB / 0.5 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3604, allocations: 4 kB / 0.5 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3604, allocations: 3.984 kB / 0.5 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008559/0.369, allocations: 4.439 MB / 0.5043 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.369, allocations: 8.031 kB / 0.5043 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.37, allocations: 235.6 kB / 0.5045 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.3712, allocations: 450.9 kB / 0.505 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-05/0.3713, allocations: 31.98 kB / 0.505 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008898/0.3802, allocations: 8.092 MB / 0.5129 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.3802, allocations: 7.938 kB / 0.5129 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/0.3859, allocations: 3.419 MB / 0.5163 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.3869, allocations: 354.7 kB / 0.5166 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.3871, allocations: 27.98 kB / 0.5166 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.388, allocations: 91.91 kB / 0.5167 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.3883, allocations: 124.7 kB / 0.5168 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.3884, allocations: 35.98 kB / 0.5169 GB, free: 2.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001692/0.3901, allocations: 1.094 MB / 0.5179 GB, free: 1.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3901, allocations: 0 / 0.5179 GB, free: 1.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001628/0.3917, allocations: 0.5038 MB / 0.5184 GB, free: 1.367 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.000372/0.3921, allocations: 207.2 kB / 0.5186 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.3961, allocations: 2.316 MB / 0.5209 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3961, allocations: 0 / 0.5209 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.3987, allocations: 1.551 MB / 0.5224 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.4007, allocations: 421.7 kB / 0.5228 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.4092, allocations: 5.081 MB / 0.5278 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.4109, allocations: 1.435 MB / 0.5292 GB, free: 6.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001258/0.4122, allocations: 438.2 kB / 0.5296 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.4125, allocations: 115.4 kB / 0.5297 GB, free: 5.602 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4125, allocations: 0 / 0.5297 GB, free: 5.602 MB / 446.1 MB Notification: Performance of Templates: time 0.2342/0.6468, allocations: 30.5 MB / 0.5595 GB, free: 86.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.743235409259796]