Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009428/0.0009428, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9311/0.9311, allocations: 177 MB / 204.8 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.657e-05, allocations: 2.312 kB / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01176/0.01178, allocations: 11.73 MB / 284.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007248/0.01903, allocations: 3.936 MB / 288.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.02145, allocations: 79.5 kB / 288.7 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.02361, allocations: 0.8544 MB / 289.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1295/0.1531, allocations: 1.068 MB / 290.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1545, allocations: 0.539 MB / 291.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.1576, allocations: 3.586 MB / 294.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.1592, allocations: 1.498 MB / 296.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.1615, allocations: 2.33 MB / 298.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.1634, allocations: 1.815 MB / 300.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005983/0.164, allocations: 408.1 kB / 300.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000938/0.165, allocations: 0.6289 MB / 301.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007416/0.1657, allocations: 1.212 MB / 302.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.1669, allocations: 1.277 MB / 303.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.1692, allocations: 3.063 MB / 306.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1692, allocations: 0 / 306.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1692, allocations: 0.7188 kB / 306.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.1692, allocations: 0 / 306.9 MB, free: 11.47 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.003648/0.1729, allocations: 3.912 MB / 310.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1729, allocations: 13.98 kB / 310.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.1739, allocations: 0.6973 MB / 311.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.1755, allocations: 1.813 MB / 313.4 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.1756, allocations: 201.8 kB / 313.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.1758, allocations: 271 kB / 313.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.1782, allocations: 2.204 MB / 316 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.1782, allocations: 7.953 kB / 316.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.1784, allocations: 111 kB / 316.2 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.1785, allocations: 126.6 kB / 316.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.1801, allocations: 1.002 MB / 317.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008367/0.1885, allocations: 9.182 MB / 326.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1897, allocations: 0.8242 MB / 327.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.1905, allocations: 0.5566 MB / 327.9 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.1906, allocations: 61.27 kB / 327.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1907, allocations: 50.7 kB / 328 MB, free: 8.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=130): time 2.876e-06/0.1907, allocations: 0 / 328 MB, free: 8.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.005848/0.1965, allocations: 3.702 MB / 331.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1966, allocations: 68.72 kB / 331.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.198, allocations: 1.603 MB / 333.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.1981, allocations: 49.7 kB / 333.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/0.1988, allocations: 1.443 MB / 334.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.1991, allocations: 0.5347 MB / 335.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.1994, allocations: 335.7 kB / 335.7 MB, free: 376 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1995, allocations: 480.7 kB / 336.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.2, allocations: 279.8 kB / 336.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007633/0.2008, allocations: 0.9701 MB / 337.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.2021, allocations: 1.381 MB / 338.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2021, allocations: 4 kB / 338.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0021/0.2042, allocations: 1.627 MB / 340.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2042, allocations: 12.62 kB / 340.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2042, allocations: 12 kB / 340.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.2049, allocations: 315.4 kB / 340.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.2058, allocations: 423.6 kB / 341.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.209, allocations: 5.098 MB / 346.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.2097, allocations: 111.8 kB / 346.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2098, allocations: 79.98 kB / 346.4 MB, free: 5.016 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 (198): * Single equations (assignments): 193 * 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.0005006/0.2103, allocations: 269.5 kB / 346.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.2106, allocations: 254.7 kB / 347 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.2124, allocations: 1.287 MB / 348.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.2124, allocations: 23.94 kB / 348.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2124, allocations: 4 kB / 348.3 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2124, allocations: 7.969 kB / 348.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.217, allocations: 3.629 MB / 351.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.217, allocations: 4 kB / 351.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.2176, allocations: 269.3 kB / 352.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/0.2184, allocations: 365.5 kB / 352.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.2185, allocations: 39.97 kB / 352.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.2225, allocations: 6.911 MB / 359.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2225, allocations: 4 kB / 359.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.2249, allocations: 1.879 MB / 361.4 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.2255, allocations: 378.5 kB / 361.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.2256, allocations: 35.98 kB / 361.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.2262, allocations: 91.91 kB / 361.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.2263, allocations: 124.3 kB / 362 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.2264, allocations: 50.09 kB / 362 MB, free: 5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009342/0.2273, allocations: 0.9302 MB / 363 MB, free: 4.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2273, allocations: 0 / 363 MB, free: 4.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001373/0.2287, allocations: 0.5858 MB / 363.5 MB, free: 3.492 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 (124): * Single equations (assignments): 119 * 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.0003591/0.2291, allocations: 225.5 kB / 363.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.2309, allocations: 1.52 MB / 365.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.231, allocations: 0 / 365.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.2321, allocations: 1.216 MB / 366.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.2332, allocations: 444.5 kB / 366.9 MB, free: 128 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.239, allocations: 4.817 MB / 371.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.2396, allocations: 0.7128 MB / 372.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000668/0.2402, allocations: 363.5 kB / 372.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.2405, allocations: 136.5 kB / 373 MB, free: 9.996 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2406, allocations: 0 / 373 MB, free: 9.996 MB / 330.7 MB Notification: Performance of Templates: time 0.03787/0.2784, allocations: 29.67 MB / 402.6 MB, free: 12.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.9913785471580923]