Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001937/0.003289, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002594, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.958/0.958, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08619/1.044, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.413e-05, allocations: 2.312 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01211/0.01213, allocations: 11.49 MB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005196/0.01732, allocations: 4.005 MB / 255.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.01801, allocations: 79.5 kB / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.02065, allocations: 0.8713 MB / 256 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.02444, allocations: 1.067 MB / 257.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.02598, allocations: 0.5225 MB / 257.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.03063, allocations: 3.583 MB / 261.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.03324, allocations: 1.526 MB / 262.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005098/0.03834, allocations: 2.772 MB / 265.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.0412, allocations: 1.722 MB / 267.2 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009603/0.04216, allocations: 400 kB / 267.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.04366, allocations: 0.6088 MB / 268.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.0447, allocations: 0.9468 MB / 269.1 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.0466, allocations: 1.029 MB / 270.2 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.05086, allocations: 2.788 MB / 273 MB, free: 1.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.05088, allocations: 0 / 273 MB, free: 1.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.05088, allocations: 0 / 273 MB, free: 1.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.05099, allocations: 4 kB / 273 MB, free: 1.543 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.1139/0.1649, allocations: 4.095 MB / 277.1 MB, free: 23.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1649, allocations: 9.469 kB / 277.1 MB, free: 23.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.166, allocations: 0.6222 MB / 277.7 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.1678, allocations: 1.302 MB / 279 MB, free: 23.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1679, allocations: 201.7 kB / 279.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.1681, allocations: 267.1 kB / 279.4 MB, free: 23.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.1712, allocations: 2.06 MB / 281.5 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.044e-05/0.1712, allocations: 13.75 kB / 281.5 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.1714, allocations: 109.3 kB / 281.6 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.1715, allocations: 121.7 kB / 281.7 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.1731, allocations: 0.7862 MB / 282.5 MB, free: 22.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009831/0.183, allocations: 7.231 MB / 289.8 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.184, allocations: 0.8096 MB / 290.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.1846, allocations: 452.3 kB / 291 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.1848, allocations: 72.86 kB / 291.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1849, allocations: 46.66 kB / 291.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 4.138e-06/0.1849, allocations: 4 kB / 291.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=148): time 0.006071/0.1909, allocations: 2.918 MB / 294.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.191, allocations: 69.38 kB / 294.1 MB, free: 17.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.192, allocations: 1.29 MB / 295.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.192, allocations: 49.7 kB / 295.5 MB, free: 16.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.1924, allocations: 1.114 MB / 296.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.1926, allocations: 0.521 MB / 297.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.193, allocations: 308.5 kB / 297.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.68e-05/0.193, allocations: 305.6 kB / 297.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.1933, allocations: 210.7 kB / 297.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.1937, allocations: 0.6689 MB / 298.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.1947, allocations: 1.081 MB / 299.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.1947, allocations: 4 kB / 299.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001789/0.1965, allocations: 1.194 MB / 300.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1965, allocations: 12 kB / 300.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1965, allocations: 12 kB / 300.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.1973, allocations: 306 kB / 301.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.1984, allocations: 443.3 kB / 301.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.201, allocations: 3.749 MB / 305.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.2019, allocations: 67.94 kB / 305.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.202, allocations: 59.98 kB / 305.5 MB, free: 6.133 MB / 266.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.0005587/0.2026, allocations: 223.2 kB / 305.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.2028, allocations: 167.8 kB / 305.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2042, allocations: 0.9849 MB / 306.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.2042, allocations: 19.98 kB / 306.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2042, allocations: 4 kB / 306.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.2043, allocations: 3.984 kB / 306.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.208, allocations: 2.86 MB / 309.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.208, allocations: 11.94 kB / 309.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009191/0.2089, allocations: 343.9 kB / 310.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.2094, allocations: 248.8 kB / 310.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.2102, allocations: 334.8 kB / 310.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.2103, allocations: 31.98 kB / 310.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.214, allocations: 4.956 MB / 315.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.214, allocations: 4 kB / 315.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2162, allocations: 1.439 MB / 317.1 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.2164, allocations: 32 kB / 317.1 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.2171, allocations: 59.95 kB / 317.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.2173, allocations: 121 kB / 317.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.2173, allocations: 28 kB / 317.3 MB, free: 10.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007792/0.2181, allocations: 0.6618 MB / 318 MB, free: 9.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2181, allocations: 4 kB / 318 MB, free: 9.531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001678/0.2198, allocations: 0.5776 MB / 318.6 MB, free: 8.957 MB / 282.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%), (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.0003697/0.2202, allocations: 200 kB / 318.8 MB, free: 8.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.2219, allocations: 1.209 MB / 320 MB, free: 7.523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.307e-05/0.222, allocations: 44.36 kB / 320 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.2235, allocations: 0.9079 MB / 320.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.2252, allocations: 0.5738 MB / 321.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/0.2495, allocations: 4.717 MB / 326.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.2502, allocations: 0.6279 MB / 326.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009394/0.2511, allocations: 247.7 kB / 327.1 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/0.2519, allocations: 455.1 kB / 327.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.422e-06/0.2519, allocations: 0 / 327.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Templates: time 0.03927/0.2911, allocations: 31.59 MB / 359.1 MB, free: 0.6562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6067774072289467]