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.001849/0.001849, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.00209/0.00209, allocations: 160.2 kB / 24.49 MB, free: 3.461 MB / 14.72 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 1.41/1.41, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",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.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 50.08 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08801, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01311/0.1011, allocations: 10.1 MB / 381.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.1081, allocations: 3.632 MB / 385.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.1096, allocations: 79.5 kB / 385.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.1118, allocations: 0.8196 MB / 386.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.1147, allocations: 0.998 MB / 387.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1159, allocations: 0.5146 MB / 387.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.1198, allocations: 3.203 MB / 390.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.122, allocations: 1.419 MB / 392.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.124, allocations: 1.468 MB / 393.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.1269, allocations: 1.739 MB / 395.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005492/0.1275, allocations: 384 kB / 395.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.1286, allocations: 0.6089 MB / 396.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.1298, allocations: 1.079 MB / 397.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.1314, allocations: 1.389 MB / 399 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005471/0.1369, allocations: 5.084 MB / 404.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1369, allocations: 0 / 404.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1369, allocations: 0 / 404.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.572e-05/0.1369, allocations: 3.938 kB / 404.1 MB, free: 6.66 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.006904/0.1438, allocations: 3.483 MB / 407.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1439, allocations: 12.92 kB / 407.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.1452, allocations: 426.7 kB / 408 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.1485, allocations: 1.768 MB / 409.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.1487, allocations: 205.1 kB / 410 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.1491, allocations: 255.9 kB / 410.2 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/0.1547, allocations: 3.369 MB / 413.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/0.1548, allocations: 4 kB / 413.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.155, allocations: 107.9 kB / 413.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.1552, allocations: 116.9 kB / 413.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004929/0.1601, allocations: 2.701 MB / 416.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.1756, allocations: 8.917 MB / 425.4 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.1779, allocations: 1.252 MB / 426.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.1798, allocations: 0.9796 MB / 427.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.18, allocations: 56.95 kB / 427.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.18, allocations: 47.5 kB / 427.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.416e-06/0.1801, allocations: 0 / 427.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01916/0.1992, allocations: 7.053 MB / 434.8 MB, free: 7.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.1993, allocations: 68.72 kB / 434.9 MB, free: 7.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.2018, allocations: 1.703 MB / 436.6 MB, free: 5.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/0.2019, allocations: 45.7 kB / 436.6 MB, free: 5.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.2029, allocations: 1.294 MB / 437.9 MB, free: 4.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.2033, allocations: 487.9 kB / 438.4 MB, free: 3.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.2038, allocations: 299.5 kB / 438.7 MB, free: 3.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.204, allocations: 309.1 kB / 439 MB, free: 3.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2055, allocations: 0.812 MB / 439.8 MB, free: 2.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.2074, allocations: 1.316 MB / 441.1 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.211, allocations: 2.246 MB / 443.4 MB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.211, allocations: 4 kB / 443.4 MB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005103/0.2161, allocations: 2.705 MB / 446.1 MB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2162, allocations: 20.02 kB / 446.1 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.2162, allocations: 16 kB / 446.1 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.2172, allocations: 422.2 kB / 446.5 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.2188, allocations: 391.3 kB / 446.9 MB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006601/0.2254, allocations: 5.503 MB / 452.4 MB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.2268, allocations: 123.9 kB / 452.5 MB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.227, allocations: 68 kB / 452.6 MB, free: 4.855 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.001323/0.2283, allocations: 0.8018 MB / 453.4 MB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.2287, allocations: 182.8 kB / 453.6 MB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/0.233, allocations: 2.299 MB / 455.9 MB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/0.233, allocations: 12 kB / 455.9 MB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.2331, allocations: 4 kB / 455.9 MB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.2331, allocations: 7.969 kB / 455.9 MB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008301/0.2414, allocations: 4.527 MB / 460.4 MB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.2414, allocations: 4 kB / 460.4 MB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.2425, allocations: 251.6 kB / 460.7 MB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.2437, allocations: 462.5 kB / 461.1 MB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.943e-05/0.2438, allocations: 43.91 kB / 461.2 MB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007824/0.2516, allocations: 6.913 MB / 468.1 MB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.2516, allocations: 7.938 kB / 468.1 MB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/0.2575, allocations: 3.467 MB / 471.6 MB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.2583, allocations: 370.6 kB / 471.9 MB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.2586, allocations: 35.92 kB / 472 MB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.2597, allocations: 103.9 kB / 472.1 MB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.2599, allocations: 112.7 kB / 472.2 MB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.26, allocations: 47.94 kB / 472.2 MB, free: 0.6953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1802/0.4402, allocations: 1.149 MB / 473.4 MB, free: 89.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4402, allocations: 0 / 473.4 MB, free: 89.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002383/0.4426, allocations: 0.5374 MB / 473.9 MB, free: 89.18 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.0004089/0.443, allocations: 222.3 kB / 474.1 MB, free: 89.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.4469, allocations: 2.271 MB / 476.4 MB, free: 88.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4469, allocations: 1.281 kB / 476.4 MB, free: 88.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.4495, allocations: 1.448 MB / 477.8 MB, free: 88.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.4516, allocations: 372.1 kB / 478.2 MB, free: 88.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.4595, allocations: 5.161 MB / 483.4 MB, free: 85.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.4612, allocations: 1.446 MB / 484.8 MB, free: 85.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.4624, allocations: 409.1 kB / 485.2 MB, free: 85.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.4628, allocations: 129.1 kB / 485.3 MB, free: 85.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4628, allocations: 0 / 485.3 MB, free: 85.53 MB / 430.1 MB Notification: Performance of Templates: time 0.03747/0.5002, allocations: 26.38 MB / 0.4997 GB, free: 64.68 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.955023578018881]