Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001372/0.001372, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 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.001354/0.001354, allocations: 188.3 kB / 23.72 MB, free: 4.711 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.456/1.456, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 47.92 kB / 371 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.284, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01499/0.299, allocations: 10.29 MB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.3069, allocations: 3.236 MB / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.31, allocations: 75.5 kB / 436.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.3126, allocations: 0.7376 MB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.3163, allocations: 0.8933 MB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.3175, allocations: 415.3 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.3218, allocations: 2.98 MB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.3239, allocations: 1.368 MB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.326, allocations: 1.382 MB / 444.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.3285, allocations: 1.748 MB / 446.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005579/0.329, allocations: 352 kB / 446.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.33, allocations: 455.8 kB / 447 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.331, allocations: 1.024 MB / 448.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.333, allocations: 1.61 MB / 449.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.3384, allocations: 4.692 MB / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3384, allocations: 3.938 kB / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3384, allocations: 0 / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.179e-05/0.3385, allocations: 0 / 454.4 MB, free: 15.25 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008051/0.3466, allocations: 3.264 MB / 457.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3466, allocations: 8.031 kB / 457.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.3475, allocations: 346.9 kB / 458 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.3513, allocations: 1.685 MB / 459.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.3515, allocations: 180.8 kB / 459.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/0.3519, allocations: 236 kB / 460.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/0.3591, allocations: 3.137 MB / 463.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.326e-05/0.3592, allocations: 7.953 kB / 463.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.3594, allocations: 99.98 kB / 463.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.3596, allocations: 104.6 kB / 463.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005468/0.365, allocations: 2.692 MB / 466.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.3827, allocations: 9.49 MB / 475.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.3854, allocations: 1.417 MB / 477 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.3875, allocations: 1.047 MB / 478.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.3877, allocations: 44.97 kB / 478.1 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3877, allocations: 47.56 kB / 478.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.805e-06/0.3877, allocations: 0 / 478.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01516/0.4029, allocations: 6.347 MB / 484.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.4029, allocations: 68.72 kB / 484.6 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/0.4057, allocations: 1.739 MB / 486.3 MB, free: 14.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.4059, allocations: 53.7 kB / 486.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.4069, allocations: 1.182 MB / 487.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.4073, allocations: 480 kB / 488 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00049/0.4078, allocations: 283.4 kB / 488.3 MB, free: 12.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.408, allocations: 313 kB / 488.6 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.4094, allocations: 0.7925 MB / 489.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.4111, allocations: 1.205 MB / 490.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.4144, allocations: 2.098 MB / 492.7 MB, free: 8.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4144, allocations: 4 kB / 492.7 MB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004994/0.4194, allocations: 2.6 MB / 495.3 MB, free: 5.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.4194, allocations: 12 kB / 495.3 MB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.4194, allocations: 12 kB / 495.3 MB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4205, allocations: 415.4 kB / 495.7 MB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.4219, allocations: 359.4 kB / 496.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.4299, allocations: 6.785 MB / 0.4911 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.4315, allocations: 103.8 kB / 0.4912 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.4316, allocations: 60 kB / 0.4912 GB, free: 13.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001439/0.4331, allocations: 0.8017 MB / 0.492 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.4335, allocations: 190.8 kB / 0.4922 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.438, allocations: 2.292 MB / 0.4944 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.4381, allocations: 15.94 kB / 0.4944 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4381, allocations: 4 kB / 0.4944 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.4381, allocations: 7.969 kB / 0.4945 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/0.448, allocations: 4.989 MB / 0.4993 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.448, allocations: 4 kB / 0.4993 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.4491, allocations: 240.1 kB / 0.4996 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.4504, allocations: 455.1 kB / 0.5 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.4505, allocations: 36.08 kB / 0.5 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009555/0.46, allocations: 8.239 MB / 0.5081 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.46, allocations: 8.172 kB / 0.5081 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/0.4663, allocations: 3.431 MB / 0.5114 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.4674, allocations: 370.7 kB / 0.5118 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.4677, allocations: 32 kB / 0.5118 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.4687, allocations: 87.89 kB / 0.5119 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.469, allocations: 124.7 kB / 0.512 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/0.4691, allocations: 40 kB / 0.5121 GB, free: 7.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00199/0.4711, allocations: 1.202 MB / 0.5132 GB, free: 6.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4711, allocations: 0 / 0.5132 GB, free: 6.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00187/0.473, allocations: 0.4999 MB / 0.5137 GB, free: 5.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0004539/0.4734, allocations: 202.9 kB / 0.5139 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004566/0.478, allocations: 2.324 MB / 0.5162 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.478, allocations: 0 / 0.5162 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.481, allocations: 1.555 MB / 0.5177 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.4834, allocations: 477.3 kB / 0.5182 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00912/0.4925, allocations: 5.103 MB / 0.5231 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.4946, allocations: 2.001 MB / 0.5251 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001342/0.4959, allocations: 443.5 kB / 0.5255 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.4963, allocations: 127.4 kB / 0.5256 GB, free: 9.168 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4963, allocations: 0 / 0.5256 GB, free: 9.168 MB / 446.1 MB Notification: Performance of Templates: time 0.2275/0.7239, allocations: 29.54 MB / 0.5545 GB, free: 96.87 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.735215814784169]