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.001352/0.001352, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001162/0.001162, allocations: 168.1 kB / 25.69 MB, free: 8.449 MB / 18.57 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.8545/0.8545, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.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.634e-06/1.634e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.492e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.008219/0.008234, allocations: 9.881 MB / 261.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.01345, allocations: 3.33 MB / 264.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.01422, allocations: 67.5 kB / 264.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.01528, allocations: 0.7023 MB / 265.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.01671, allocations: 0.9158 MB / 266.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.01723, allocations: 431.2 kB / 266.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.01905, allocations: 3.077 MB / 270 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.0202, allocations: 1.348 MB / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.02216, allocations: 2.238 MB / 273.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.02348, allocations: 1.524 MB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.02377, allocations: 344 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.02428, allocations: 439.9 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.02487, allocations: 1.028 MB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007971/0.02566, allocations: 1.087 MB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.02782, allocations: 2.57 MB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.02782, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.02782, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.02784, allocations: 3.938 kB / 280.5 MB, free: 10.06 MB / 266.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.002745/0.03059, allocations: 3.001 MB / 283.5 MB, free: 7.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.03062, allocations: 8.031 kB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/0.0312, allocations: 420.6 kB / 284 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.0324, allocations: 1.103 MB / 285.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.03249, allocations: 177 kB / 285.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.0327, allocations: 236.3 kB / 285.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.03466, allocations: 1.791 MB / 287.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/0.0347, allocations: 4 kB / 287.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.03483, allocations: 99.98 kB / 287.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.024e-05/0.03491, allocations: 108.6 kB / 287.5 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.03587, allocations: 0.6918 MB / 288.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006031/0.0419, allocations: 6.194 MB / 294.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.04274, allocations: 0.7564 MB / 295.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.04331, allocations: 463.5 kB / 295.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.04345, allocations: 56.97 kB / 295.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.04348, allocations: 47.56 kB / 295.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.214e-06/0.04348, allocations: 4 kB / 295.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.004092/0.04758, allocations: 2.585 MB / 298.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.04761, allocations: 64.72 kB / 298.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.04839, allocations: 1.127 MB / 299.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/0.04845, allocations: 49.7 kB / 299.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006819/0.04913, allocations: 0.9687 MB / 300.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.04936, allocations: 471.9 kB / 300.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.04962, allocations: 267.3 kB / 301.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.04968, allocations: 313.1 kB / 301.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.04993, allocations: 174.8 kB / 301.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.05033, allocations: 0.5733 MB / 302.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.0511, allocations: 0.9245 MB / 303.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.05111, allocations: 4 kB / 303.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001246/0.05235, allocations: 1.051 MB / 304.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.05237, allocations: 11.94 kB / 304.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.05238, allocations: 16.34 kB / 304.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.05285, allocations: 240.6 kB / 304.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.05356, allocations: 347.5 kB / 304.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.0568, allocations: 4.705 MB / 309.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.05723, allocations: 63.92 kB / 309.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.0573, allocations: 48 kB / 309.6 MB, free: 11.69 MB / 298.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.0003706/0.05768, allocations: 204.2 kB / 309.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.05787, allocations: 155.8 kB / 310 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.05905, allocations: 0.8915 MB / 310.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.05906, allocations: 12 kB / 310.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.05907, allocations: 4 kB / 310.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.05908, allocations: 15.91 kB / 310.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.06214, allocations: 2.613 MB / 313.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.06215, allocations: 4 kB / 313.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.06277, allocations: 280.4 kB / 313.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.06328, allocations: 265.8 kB / 314.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.06333, allocations: 31.98 kB / 314.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.06694, allocations: 5.911 MB / 320 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.06695, allocations: 11.94 kB / 320 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.06863, allocations: 1.327 MB / 321.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.06896, allocations: 226.8 kB / 321.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.06907, allocations: 31.98 kB / 321.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.06943, allocations: 51.97 kB / 321.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.06959, allocations: 108.7 kB / 321.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.06964, allocations: 31.98 kB / 321.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.07008, allocations: 0.5665 MB / 322.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07008, allocations: 4 kB / 322.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009747/0.07106, allocations: 0.4921 MB / 322.8 MB, free: 13.85 MB / 314.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.0002509/0.07131, allocations: 180 kB / 323 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.07253, allocations: 1.198 MB / 324.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-05/0.07255, allocations: 16.5 kB / 324.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.07335, allocations: 0.953 MB / 325.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.0743, allocations: 427.2 kB / 325.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.07883, allocations: 4.077 MB / 329.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.07928, allocations: 0.5701 MB / 330.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004808/0.07977, allocations: 226.5 kB / 330.5 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.08045, allocations: 427.1 kB / 330.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.08045, allocations: 0 / 330.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of Templates: time 0.1202/0.2006, allocations: 27.3 MB / 358.2 MB, free: 88.04 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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.2052199449390173]