Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.0009686/0.0009686, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002444, 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.0009156/0.0009156, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002158, 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.8217/0.8217, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1516/0.9733, allocations: 52.49 MB / 238.5 MB, free: 7.602 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_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.134e-05, allocations: 2.312 kB / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.008321/0.008332, allocations: 11.15 MB / 250.9 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.01386, allocations: 3.961 MB / 254.9 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.01486, allocations: 75.56 kB / 254.9 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.01611, allocations: 0.8363 MB / 255.8 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.01776, allocations: 1.036 MB / 256.8 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.01847, allocations: 0.5108 MB / 257.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.02078, allocations: 3.334 MB / 260.7 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.02207, allocations: 1.462 MB / 262.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.02438, allocations: 2.612 MB / 264.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.0256, allocations: 1.605 MB / 266.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.02592, allocations: 376 kB / 266.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.02664, allocations: 0.5932 MB / 267.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.02714, allocations: 0.8767 MB / 268.2 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.02784, allocations: 0.9631 MB / 269.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.02967, allocations: 2.593 MB / 271.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/0.02968, allocations: 0 / 271.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02968, allocations: 0 / 271.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.02971, allocations: 0 / 271.7 MB, free: 6.176 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.003422/0.03314, allocations: 3.833 MB / 275.6 MB, free: 2.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.03318, allocations: 12.03 kB / 275.6 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/0.03399, allocations: 0.5913 MB / 276.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.0353, allocations: 1.22 MB / 277.4 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.03541, allocations: 193.4 kB / 277.6 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.03564, allocations: 256.4 kB / 277.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.03763, allocations: 1.915 MB / 279.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.03767, allocations: 0 / 279.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.0378, allocations: 108 kB / 279.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.243e-05/0.03789, allocations: 116.9 kB / 280 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009185/0.03881, allocations: 0.7159 MB / 280.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/0.04517, allocations: 6.776 MB / 287.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.04583, allocations: 0.64 MB / 288.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.04631, allocations: 431.4 kB / 288.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.04646, allocations: 56.97 kB / 288.6 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.04649, allocations: 47.56 kB / 288.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.475e-06/0.04649, allocations: 0 / 288.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.00444/0.05093, allocations: 2.939 MB / 291.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.05096, allocations: 68.66 kB / 291.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/0.05175, allocations: 1.211 MB / 292.8 MB, free: 424 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.05181, allocations: 45.7 kB / 292.9 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.05232, allocations: 1.055 MB / 293.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.05253, allocations: 491.7 kB / 294.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.05278, allocations: 287.3 kB / 294.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.05283, allocations: 301.1 kB / 295 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.05307, allocations: 182.8 kB / 295.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.05347, allocations: 0.6676 MB / 295.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.05426, allocations: 1.092 MB / 296.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.05427, allocations: 4 kB / 296.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001215/0.05548, allocations: 1.131 MB / 298.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.0555, allocations: 12 kB / 298.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.05551, allocations: 19.98 kB / 298.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.05596, allocations: 249.4 kB / 298.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.0567, allocations: 399.4 kB / 298.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.05897, allocations: 3.615 MB / 302.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.05945, allocations: 79.86 kB / 302.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.05952, allocations: 56 kB / 302.5 MB, free: 6.074 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.05984, allocations: 208.3 kB / 302.7 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.06003, allocations: 167.8 kB / 302.8 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.06106, allocations: 0.905 MB / 303.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.06107, allocations: 15.98 kB / 303.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.06108, allocations: 7.938 kB / 303.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.06109, allocations: 3.984 kB / 303.8 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.06381, allocations: 2.703 MB / 306.5 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.06382, allocations: 8.062 kB / 306.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.06434, allocations: 247.7 kB / 306.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.06464, allocations: 230.8 kB / 307 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006867/0.06533, allocations: 335.7 kB / 307.3 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.06538, allocations: 31.98 kB / 307.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/0.06787, allocations: 4.802 MB / 312.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.06788, allocations: 7.938 kB / 312.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.0692, allocations: 1.358 MB / 313.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.06933, allocations: 35.98 kB / 313.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.06973, allocations: 67.89 kB / 313.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.06987, allocations: 108.7 kB / 313.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.06992, allocations: 35.98 kB / 313.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005909/0.07051, allocations: 0.6112 MB / 314.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07051, allocations: 0 / 314.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009361/0.07145, allocations: 0.5273 MB / 314.9 MB, free: 9.141 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,12,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.0002993/0.07174, allocations: 203.9 kB / 315.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.07285, allocations: 1.16 MB / 316.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.961e-05/0.07289, allocations: 33.75 kB / 316.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.07372, allocations: 0.9333 MB / 317.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.07545, allocations: 3.542 MB / 320.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.09094, allocations: 4.368 MB / 325.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.09143, allocations: 0.5758 MB / 325.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006634/0.09209, allocations: 226.5 kB / 325.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/0.09273, allocations: 417 kB / 326.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.472e-06/0.09273, allocations: 4 kB / 326.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of Templates: time 0.12/0.2127, allocations: 27.54 MB / 353.9 MB, free: 77.36 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.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.1800014097243547]