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.001088/0.001088, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.002823, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009988/0.0009988, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002397, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8635/0.8635, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1508/1.014, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.513e-06/1.513e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.07e-05, allocations: 6.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.008906/0.008927, allocations: 11.49 MB / 251.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.01459, allocations: 4.015 MB / 255.3 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009568/0.01554, allocations: 79.5 kB / 255.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.01696, allocations: 0.8635 MB / 256.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.01859, allocations: 1.071 MB / 257.3 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.01934, allocations: 0.5225 MB / 257.8 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.02179, allocations: 3.579 MB / 261.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.02302, allocations: 1.522 MB / 262.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.02507, allocations: 2.784 MB / 265.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.02639, allocations: 1.719 MB / 267.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.02677, allocations: 400 kB / 267.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.02746, allocations: 0.6166 MB / 268.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.028, allocations: 0.939 MB / 269.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.02875, allocations: 1.029 MB / 270.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.03073, allocations: 2.788 MB / 273.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.03074, allocations: 4 kB / 273.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.03074, allocations: 0 / 273.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.03078, allocations: 0 / 273.2 MB, free: 4.766 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.003439/0.03422, allocations: 4.103 MB / 277.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.03424, allocations: 12.03 kB / 277.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.03509, allocations: 0.6148 MB / 277.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.03648, allocations: 1.304 MB / 279.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.03657, allocations: 201.8 kB / 279.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.0368, allocations: 272.1 kB / 279.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.03873, allocations: 2.064 MB / 281.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.644e-05/0.03878, allocations: 15.86 kB / 281.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.03898, allocations: 112 kB / 281.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.03909, allocations: 121.2 kB / 282 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.04052, allocations: 0.7784 MB / 282.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008729/0.04925, allocations: 7.231 MB / 290 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.05032, allocations: 0.7925 MB / 290.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.05102, allocations: 468.2 kB / 291.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.05119, allocations: 57.28 kB / 291.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.05123, allocations: 51.86 kB / 291.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.935e-06/0.05123, allocations: 0 / 291.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005692/0.05693, allocations: 2.952 MB / 294.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.05696, allocations: 64.72 kB / 294.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.05811, allocations: 1.299 MB / 295.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.05819, allocations: 45.7 kB / 295.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.05875, allocations: 1.11 MB / 296.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.05907, allocations: 0.5228 MB / 297.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.05945, allocations: 311.3 kB / 297.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.05952, allocations: 305.1 kB / 297.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.05989, allocations: 206.7 kB / 298.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.06047, allocations: 0.669 MB / 298.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.06165, allocations: 1.129 MB / 299.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.06166, allocations: 8 kB / 299.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001815/0.06348, allocations: 1.187 MB / 301.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.0635, allocations: 12.38 kB / 301.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.06352, allocations: 23.94 kB / 301.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/0.0643, allocations: 297.1 kB / 301.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.06547, allocations: 443.4 kB / 301.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.06862, allocations: 3.742 MB / 305.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.06933, allocations: 63.94 kB / 305.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.06946, allocations: 71.92 kB / 305.8 MB, free: 2.871 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.0004183/0.06987, allocations: 220 kB / 306 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.07015, allocations: 171.8 kB / 306.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.07167, allocations: 0.9893 MB / 307.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.07169, allocations: 16 kB / 307.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.07169, allocations: 4 kB / 307.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.07171, allocations: 7.969 kB / 307.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.07567, allocations: 2.846 MB / 310 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.07568, allocations: 4.406 kB / 310 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009702/0.07665, allocations: 348 kB / 310.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.0771, allocations: 254.6 kB / 310.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008569/0.07795, allocations: 338.6 kB / 310.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.07804, allocations: 43.97 kB / 311 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.08161, allocations: 4.938 MB / 315.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.08162, allocations: 8 kB / 315.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.08356, allocations: 1.443 MB / 317.4 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.08375, allocations: 35.98 kB / 317.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.08433, allocations: 59.95 kB / 317.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.08455, allocations: 125 kB / 317.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.08462, allocations: 31.98 kB / 317.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006746/0.0853, allocations: 0.6617 MB / 318.3 MB, free: 5.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0853, allocations: 0 / 318.3 MB, free: 5.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001345/0.08664, allocations: 0.5741 MB / 318.8 MB, free: 5.273 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%), (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.000347/0.08699, allocations: 204 kB / 319 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.0886, allocations: 1.236 MB / 320.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.439e-05/0.08865, allocations: 36.38 kB / 320.3 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.08985, allocations: 0.9896 MB / 321.3 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.09249, allocations: 4.249 MB / 325.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.1162, allocations: 4.714 MB / 330.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.1169, allocations: 0.6279 MB / 330.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001021/0.1179, allocations: 247.8 kB / 331.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.119, allocations: 463.1 kB / 331.6 MB, free: 7.477 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.119, allocations: 0 / 331.6 MB, free: 7.477 MB / 330.7 MB Notification: Performance of Templates: time 0.1298/0.2488, allocations: 31.36 MB / 362.9 MB, free: 63.13 MB / 330.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.316118285059929]