Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.001161/0.001161, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002854, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009866/0.0009866, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002324, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.04/1.04, allocations: 158.6 MB / 171.2 MB, free: 2.492 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1564/1.196, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.18e-05, allocations: 2.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.009121/0.009143, allocations: 11.45 MB / 233.4 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.01582, allocations: 4.064 MB / 237.5 MB, free: 472 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.01758, allocations: 71.5 kB / 237.6 MB, free: 400 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.01939, allocations: 0.8675 MB / 238.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.02228, allocations: 1.067 MB / 239.5 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.02343, allocations: 0.5303 MB / 240 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.02711, allocations: 3.598 MB / 243.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.02894, allocations: 1.502 MB / 245.1 MB, free: 8.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/0.03335, allocations: 2.768 MB / 247.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.03587, allocations: 1.722 MB / 249.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006911/0.03656, allocations: 400 kB / 250 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.03783, allocations: 0.6205 MB / 250.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006657/0.0385, allocations: 0.9351 MB / 251.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.03995, allocations: 1.029 MB / 252.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.04337, allocations: 2.784 MB / 255.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.04338, allocations: 0 / 255.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.04338, allocations: 0 / 255.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.126e-05/0.04346, allocations: 0 / 255.4 MB, free: 14.42 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.004483/0.04795, allocations: 4.099 MB / 259.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.04798, allocations: 8.031 kB / 259.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.049, allocations: 0.6381 MB / 260.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.05092, allocations: 1.195 MB / 261.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.05103, allocations: 201.8 kB / 261.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.05128, allocations: 272.1 kB / 261.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.05371, allocations: 2.064 MB / 263.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.05376, allocations: 11.94 kB / 263.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.05392, allocations: 112 kB / 264 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.05403, allocations: 121.2 kB / 264.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.05528, allocations: 0.7823 MB / 264.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009371/0.06465, allocations: 7.243 MB / 272.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.06563, allocations: 0.7931 MB / 272.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.0662, allocations: 472.4 kB / 273.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.06639, allocations: 57.28 kB / 273.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.06643, allocations: 55.81 kB / 273.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 4.048e-06/0.06644, allocations: 0 / 273.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005965/0.0724, allocations: 2.944 MB / 276.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.07244, allocations: 64.72 kB / 276.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.07362, allocations: 1.291 MB / 277.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.73e-05/0.0737, allocations: 49.69 kB / 277.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.07419, allocations: 1.11 MB / 278.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.07448, allocations: 0.5228 MB / 279.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.07479, allocations: 307.3 kB / 279.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.07486, allocations: 305.1 kB / 280.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.07514, allocations: 202.7 kB / 280.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.07563, allocations: 0.6776 MB / 280.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.07695, allocations: 1.137 MB / 282.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.07696, allocations: 4 kB / 282.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00169/0.07865, allocations: 1.187 MB / 283.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.07868, allocations: 12 kB / 283.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.07869, allocations: 16 kB / 283.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.07938, allocations: 311.9 kB / 283.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.08029, allocations: 441.3 kB / 284 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1689/0.2492, allocations: 3.745 MB / 287.8 MB, free: 43.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.2512, allocations: 65.88 kB / 287.8 MB, free: 43.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.2514, allocations: 64.94 kB / 287.9 MB, free: 43.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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.001008/0.2524, allocations: 225 kB / 288.1 MB, free: 43.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005712/0.253, allocations: 171.9 kB / 288.3 MB, free: 43.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.255, allocations: 0.9771 MB / 289.3 MB, free: 43.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/0.2551, allocations: 17.77 kB / 289.3 MB, free: 43.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/0.2551, allocations: 4.469 kB / 289.3 MB, free: 43.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.2551, allocations: 11.2 kB / 289.3 MB, free: 43.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006067/0.2612, allocations: 2.876 MB / 292.2 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.2612, allocations: 3.625 kB / 292.2 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.2623, allocations: 348.5 kB / 292.5 MB, free: 43.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.2631, allocations: 253.1 kB / 292.8 MB, free: 43.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.2641, allocations: 333.2 kB / 293.1 MB, free: 43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.2642, allocations: 35.77 kB / 293.1 MB, free: 43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/0.2677, allocations: 4.94 MB / 298.1 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.2677, allocations: 2.625 kB / 298.1 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.27, allocations: 1.465 MB / 299.5 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.2703, allocations: 34.81 kB / 299.6 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.2708, allocations: 59.16 kB / 299.6 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.271, allocations: 122.5 kB / 299.8 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.2711, allocations: 34.66 kB / 299.8 MB, free: 38.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.2722, allocations: 0.6541 MB / 300.4 MB, free: 38.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2722, allocations: 0 / 300.4 MB, free: 38.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001801/0.274, allocations: 0.5757 MB / 301 MB, free: 38.62 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * 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.0004603/0.2745, allocations: 209.9 kB / 301.2 MB, free: 38.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.2762, allocations: 1.241 MB / 302.5 MB, free: 38.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-05/0.2763, allocations: 33.62 kB / 302.5 MB, free: 38.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.2775, allocations: 0.9964 MB / 303.5 MB, free: 37.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.2797, allocations: 4.247 MB / 307.7 MB, free: 33.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.2986, allocations: 4.727 MB / 312.5 MB, free: 31.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.2994, allocations: 0.6267 MB / 313.1 MB, free: 31.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.3006, allocations: 250.6 kB / 313.3 MB, free: 31.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.3016, allocations: 461.3 kB / 313.8 MB, free: 30.98 MB / 282.7 MB Notification: Performance of SimCode: time 2.344e-06/0.3016, allocations: 0 / 313.8 MB, free: 30.98 MB / 282.7 MB Notification: Performance of Templates: time 0.05802/0.3597, allocations: 31.35 MB / 345.1 MB, free: 252 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_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/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.909220335073769]