Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.001517/0.001517, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001485/0.001485, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.673/1.673, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 51.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 53.32 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.2503/0.3666, allocations: 11.56 MB / 439.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008177/0.3748, allocations: 3.944 MB / 443 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.3777, allocations: 78.75 kB / 443.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.3809, allocations: 0.8705 MB / 443.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.3849, allocations: 0.994 MB / 444.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.3866, allocations: 0.5191 MB / 445.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005605/0.3922, allocations: 3.224 MB / 448.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.3952, allocations: 1.853 MB / 450.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.3986, allocations: 1.475 MB / 452 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.4028, allocations: 1.86 MB / 453.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.4039, allocations: 387.3 kB / 454.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.406, allocations: 0.627 MB / 454.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.4075, allocations: 1.082 MB / 456 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003403/0.4109, allocations: 1.726 MB / 457.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.4203, allocations: 5.071 MB / 462.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4204, allocations: 0 / 462.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4204, allocations: 0 / 462.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002251/0.4206, allocations: 0.6562 kB / 462.8 MB, free: 8.27 MB / 366.1 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.01175/0.4323, allocations: 3.586 MB / 466.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4324, allocations: 9.531 kB / 466.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.4345, allocations: 457.2 kB / 466.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.4386, allocations: 1.869 MB / 468.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.4388, allocations: 186 kB / 468.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004618/0.4393, allocations: 264.4 kB / 469.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006395/0.4457, allocations: 3.249 MB / 472.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.4457, allocations: 2.125 kB / 472.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.446, allocations: 99.66 kB / 472.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.4461, allocations: 120.9 kB / 472.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00522/0.4513, allocations: 2.703 MB / 475.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.4721, allocations: 10.28 MB / 485.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.4746, allocations: 1.695 MB / 487.2 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.4765, allocations: 0.9837 MB / 488.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000353/0.4769, allocations: 211.1 kB / 488.4 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.4769, allocations: 48.58 kB / 488.5 MB, free: 2.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.166e-06/0.4769, allocations: 0 / 488.5 MB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01991/0.4968, allocations: 7.452 MB / 495.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4969, allocations: 64.72 kB / 496 MB, free: 11.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/0.5002, allocations: 1.889 MB / 497.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.5004, allocations: 45.7 kB / 497.9 MB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.5015, allocations: 1.283 MB / 499.2 MB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.502, allocations: 491.8 kB / 499.7 MB, free: 7.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005196/0.5025, allocations: 299.4 kB / 500 MB, free: 7.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5027, allocations: 305.1 kB / 0.4886 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.5042, allocations: 0.812 MB / 0.4894 GB, free: 6.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.5061, allocations: 1.312 MB / 0.4906 GB, free: 4.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/0.5096, allocations: 2.254 MB / 0.4928 GB, free: 2.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.5096, allocations: 4 kB / 0.4928 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005691/0.5153, allocations: 2.8 MB / 0.4956 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.5153, allocations: 12 kB / 0.4956 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/0.5154, allocations: 17.08 kB / 0.4956 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.5167, allocations: 415.3 kB / 0.496 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.5183, allocations: 412 kB / 0.4964 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007129/0.5254, allocations: 5.79 MB / 0.502 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.5277, allocations: 123.8 kB / 0.5022 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.5279, allocations: 76 kB / 0.5022 GB, free: 8.152 MB / 414.1 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.001789/0.5297, allocations: 0.7862 MB / 0.503 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/0.5303, allocations: 206.7 kB / 0.5032 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004746/0.535, allocations: 2.395 MB / 0.5055 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-05/0.5351, allocations: 12 kB / 0.5056 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.5351, allocations: 11.94 kB / 0.5056 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.5351, allocations: 11.91 kB / 0.5056 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5457, allocations: 5.257 MB / 0.5107 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.5457, allocations: 4 kB / 0.5107 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5469, allocations: 252.2 kB / 0.511 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.5483, allocations: 464.5 kB / 0.5114 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.5484, allocations: 35.98 kB / 0.5114 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008287/0.5567, allocations: 7.342 MB / 0.5186 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.5567, allocations: 11.94 kB / 0.5186 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006636/0.5633, allocations: 3.572 MB / 0.5221 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.5647, allocations: 455.7 kB / 0.5225 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.565, allocations: 35.98 kB / 0.5226 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.5662, allocations: 106.8 kB / 0.5227 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.5665, allocations: 108.7 kB / 0.5228 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5666, allocations: 43.98 kB / 0.5228 GB, free: 2.336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002191/0.5688, allocations: 1.307 MB / 0.5241 GB, free: 1.039 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5688, allocations: 4 kB / 0.5241 GB, free: 1.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002539/0.5714, allocations: 0.539 MB / 0.5246 GB, free: 0.4961 MB / 430.1 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%), (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.000625/0.572, allocations: 226.7 kB / 0.5248 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.5765, allocations: 2.341 MB / 0.5271 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.5765, allocations: 5 kB / 0.5271 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.5793, allocations: 1.447 MB / 0.5285 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/0.5821, allocations: 459.9 kB / 0.529 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.5929, allocations: 5.225 MB / 0.5341 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.595, allocations: 1.995 MB / 0.536 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009498/0.596, allocations: 151.4 kB / 0.5362 GB, free: 4.449 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.596, allocations: 0 / 0.5362 GB, free: 4.449 MB / 446.1 MB Notification: Performance of Templates: time 0.09693/0.6929, allocations: 70.82 MB / 0.6053 GB, free: 13.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.243247342004906]