Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001134/0.001134, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.002959, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001109/0.001109, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002517, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8707/0.8707, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1366/1.007, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.343e-05, allocations: 6.109 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.007908/0.007921, allocations: 9.932 MB / 231.8 MB, free: 6.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.01298, allocations: 3.353 MB / 235.1 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006832/0.01366, allocations: 67.5 kB / 235.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.01499, allocations: 0.7101 MB / 235.9 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.01635, allocations: 0.9118 MB / 236.8 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.01685, allocations: 419.3 kB / 237.2 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.01866, allocations: 3.1 MB / 240.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.01974, allocations: 1.34 MB / 241.7 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.0219, allocations: 2.448 MB / 244.1 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.02301, allocations: 1.52 MB / 245.6 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.02327, allocations: 347.9 kB / 246 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.02374, allocations: 443.8 kB / 246.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005058/0.02425, allocations: 0.8416 MB / 247.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006973/0.02495, allocations: 0.889 MB / 248.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.02693, allocations: 2.414 MB / 250.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/0.02695, allocations: 0 / 250.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02695, allocations: 4 kB / 250.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.02698, allocations: 4 kB / 250.6 MB, free: 3.238 MB / 250.7 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.003151/0.03013, allocations: 3.567 MB / 254.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.03016, allocations: 8.031 kB / 254.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/0.03078, allocations: 497.7 kB / 254.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.03198, allocations: 1.1 MB / 255.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/0.03207, allocations: 181 kB / 255.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.03227, allocations: 240.3 kB / 256.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.03419, allocations: 1.795 MB / 257.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.03423, allocations: 11.94 kB / 257.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.03435, allocations: 95.98 kB / 258 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/0.03442, allocations: 104.6 kB / 258.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009238/0.03535, allocations: 0.688 MB / 258.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005963/0.04131, allocations: 6.229 MB / 265 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.04212, allocations: 0.7486 MB / 265.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.04267, allocations: 471.5 kB / 266.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.04282, allocations: 60.91 kB / 266.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.04285, allocations: 47.56 kB / 266.4 MB, free: 2.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.234e-06/0.04285, allocations: 0 / 266.4 MB, free: 2.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.003913/0.04676, allocations: 2.578 MB / 268.9 MB, free: 248 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.04679, allocations: 68.7 kB / 269 MB, free: 168 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/0.0476, allocations: 1.134 MB / 270.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.04766, allocations: 49.7 kB / 270.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006851/0.04835, allocations: 0.9648 MB / 271.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.04858, allocations: 467.9 kB / 271.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.04884, allocations: 267.4 kB / 271.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.04891, allocations: 309.1 kB / 272.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.04915, allocations: 182.8 kB / 272.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.04958, allocations: 0.5694 MB / 272.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.0504, allocations: 0.9324 MB / 273.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.05041, allocations: 8 kB / 273.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001229/0.05164, allocations: 1.044 MB / 274.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.05166, allocations: 15.97 kB / 274.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.05167, allocations: 16 kB / 274.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.05213, allocations: 232.9 kB / 275.2 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.05286, allocations: 367.5 kB / 275.5 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.05591, allocations: 4.723 MB / 280.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.05633, allocations: 59.94 kB / 280.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.0564, allocations: 52 kB / 280.4 MB, free: 4.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.0003362/0.05673, allocations: 208.2 kB / 280.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.05691, allocations: 151.8 kB / 280.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.05798, allocations: 0.8913 MB / 281.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.05798, allocations: 16 kB / 281.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.05799, allocations: 4 kB / 281.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.058, allocations: 11.91 kB / 281.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.0608, allocations: 2.621 MB / 284.3 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.0608, allocations: 4 kB / 284.3 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1045/0.1653, allocations: 293.1 kB / 284.5 MB, free: 46.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/0.1659, allocations: 224.9 kB / 284.8 MB, free: 46.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/0.1665, allocations: 254 kB / 285 MB, free: 46.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.1665, allocations: 35.08 kB / 285 MB, free: 46.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.1693, allocations: 5.908 MB / 291 MB, free: 41.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.1693, allocations: 6.75 kB / 291 MB, free: 41.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.1712, allocations: 1.326 MB / 292.3 MB, free: 41.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.1715, allocations: 34.67 kB / 292.3 MB, free: 41.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.1719, allocations: 54.88 kB / 292.4 MB, free: 41.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.1722, allocations: 107.5 kB / 292.5 MB, free: 41.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.1722, allocations: 33.7 kB / 292.5 MB, free: 41.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007176/0.1729, allocations: 0.5635 MB / 293.1 MB, free: 41.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1729, allocations: 0 / 293.1 MB, free: 41.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001586/0.1745, allocations: 0.4956 MB / 293.6 MB, free: 41.39 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 111 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000328/0.1748, allocations: 178.7 kB / 293.7 MB, free: 41.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.1764, allocations: 1.188 MB / 294.9 MB, free: 40.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.023e-05/0.1764, allocations: 36.44 kB / 295 MB, free: 40.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.1772, allocations: 0.956 MB / 295.9 MB, free: 40.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.1783, allocations: 0.5518 MB / 296.5 MB, free: 40.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.1928, allocations: 4.22 MB / 300.7 MB, free: 38.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1932, allocations: 0.5799 MB / 301.3 MB, free: 38.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000504/0.1937, allocations: 225 kB / 301.5 MB, free: 38.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/0.1944, allocations: 434.8 kB / 301.9 MB, free: 38.4 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1944, allocations: 0 / 301.9 MB, free: 38.4 MB / 282.7 MB Notification: Performance of Templates: time 0.02878/0.2231, allocations: 28.47 MB / 330.4 MB, free: 15.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.149079597555101]