Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001076/0.001076, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001076/0.001076, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.025/1.025, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.886e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01037/0.0104, allocations: 11.71 MB / 284.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006485/0.01688, allocations: 3.932 MB / 288.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009649/0.01785, allocations: 79.5 kB / 288.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.01932, allocations: 0.8505 MB / 289.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1369/0.1562, allocations: 1.072 MB / 290.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.158, allocations: 0.5394 MB / 291.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004839/0.1628, allocations: 3.578 MB / 294.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.165, allocations: 1.491 MB / 296.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.169, allocations: 2.323 MB / 298.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.1721, allocations: 1.817 MB / 300.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.1731, allocations: 408.3 kB / 300.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.1746, allocations: 0.625 MB / 301.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009667/0.1756, allocations: 1.21 MB / 302.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.178, allocations: 1.284 MB / 303.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.1817, allocations: 3.054 MB / 307 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1817, allocations: 0.9062 kB / 307 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1817, allocations: 0 / 307 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.1819, allocations: 0 / 307 MB, free: 11.59 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.00475/0.1866, allocations: 3.915 MB / 310.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1867, allocations: 9.5 kB / 310.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.1879, allocations: 0.6893 MB / 311.6 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1899, allocations: 1.812 MB / 313.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.19, allocations: 201.8 kB / 313.6 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.1903, allocations: 275.7 kB / 313.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.1929, allocations: 2.202 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.1929, allocations: 8 kB / 316.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.1931, allocations: 105.6 kB / 316.2 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/0.1932, allocations: 125.2 kB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.1949, allocations: 1.001 MB / 317.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009668/0.2046, allocations: 9.192 MB / 326.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.206, allocations: 0.8324 MB / 327.3 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.2068, allocations: 0.5528 MB / 327.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.207, allocations: 57.28 kB / 327.9 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.207, allocations: 54.7 kB / 328 MB, free: 8.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.968e-06/0.207, allocations: 0 / 328 MB, free: 8.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.007/0.214, allocations: 3.777 MB / 331.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.214, allocations: 64.72 kB / 331.8 MB, free: 4.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.2157, allocations: 1.599 MB / 333.4 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.2157, allocations: 49.7 kB / 333.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/0.2165, allocations: 1.445 MB / 334.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.2168, allocations: 0.5325 MB / 335.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.2172, allocations: 335.3 kB / 335.8 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2173, allocations: 484.7 kB / 336.2 MB, free: 100 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.2178, allocations: 275.8 kB / 336.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.2186, allocations: 0.9674 MB / 337.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.2201, allocations: 1.383 MB / 338.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.2202, allocations: 4 kB / 338.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002284/0.2224, allocations: 1.632 MB / 340.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.2225, allocations: 14.34 kB / 340.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.2225, allocations: 16 kB / 340.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.2233, allocations: 306.7 kB / 340.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.2242, allocations: 426.6 kB / 341.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.2279, allocations: 5.098 MB / 346.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/0.2287, allocations: 115.8 kB / 346.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.2288, allocations: 79.98 kB / 346.5 MB, free: 5.219 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000557/0.2294, allocations: 270.3 kB / 346.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.2297, allocations: 254.7 kB / 347 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.2315, allocations: 1.292 MB / 348.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.2315, allocations: 31.92 kB / 348.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.2315, allocations: 4 kB / 348.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.2315, allocations: 3.984 kB / 348.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.2361, allocations: 3.638 MB / 352 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2361, allocations: 4 kB / 352 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.2367, allocations: 270.2 kB / 352.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/0.2375, allocations: 362.8 kB / 352.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.2376, allocations: 39.98 kB / 352.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004013/0.2416, allocations: 6.913 MB / 359.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2416, allocations: 7.375 kB / 359.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.2441, allocations: 1.891 MB / 361.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.2446, allocations: 366.5 kB / 361.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.2448, allocations: 35.98 kB / 361.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.2453, allocations: 91.91 kB / 362 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.2455, allocations: 124.4 kB / 362.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.2456, allocations: 47.98 kB / 362.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001035/0.2466, allocations: 0.93 MB / 363.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2466, allocations: 0 / 363.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001429/0.2481, allocations: 0.582 MB / 363.6 MB, free: 3.684 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.0003774/0.2484, allocations: 224.2 kB / 363.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.2506, allocations: 1.528 MB / 365.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2506, allocations: 384 / 365.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2518, allocations: 1.219 MB / 366.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.253, allocations: 448.3 kB / 367 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/0.2591, allocations: 4.815 MB / 371.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.2597, allocations: 0.7127 MB / 372.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007222/0.2604, allocations: 363.5 kB / 372.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.2607, allocations: 128.5 kB / 373.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2607, allocations: 0 / 373.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of Templates: time 0.04234/0.3031, allocations: 29.73 MB / 402.8 MB, free: 12.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_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: 4.108960154931992]