Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001256/0.001256, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.00131/0.00131, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.448/1.448, allocations: 225.6 MB / 249.8 MB, free: 3.703 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.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01216/0.1195, allocations: 9.751 MB / 428.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006323/0.1258, allocations: 3.022 MB / 431.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.1272, allocations: 47.81 kB / 431.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.1291, allocations: 0.6677 MB / 432.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.1318, allocations: 0.7843 MB / 433.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.1326, allocations: 367.5 kB / 433.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.1357, allocations: 2.427 MB / 436 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.1374, allocations: 1.271 MB / 437.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.139, allocations: 1.09 MB / 438.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.141, allocations: 1.339 MB / 439.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.1415, allocations: 283.9 kB / 440 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.1422, allocations: 367.9 kB / 440.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000958/0.1432, allocations: 0.7868 MB / 441.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.1447, allocations: 1.272 MB / 442.4 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.1488, allocations: 3.651 MB / 446.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1488, allocations: 0 / 446.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1488, allocations: 0 / 446.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.678e-05/0.1489, allocations: 4 kB / 446.1 MB, free: 0.8359 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.2076/0.3565, allocations: 2.632 MB / 448.7 MB, free: 29.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3565, allocations: 10.81 kB / 448.7 MB, free: 29.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3576, allocations: 274.7 kB / 449 MB, free: 29.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.3603, allocations: 1.367 MB / 450.4 MB, free: 28.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.3604, allocations: 146.5 kB / 450.5 MB, free: 28.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.3607, allocations: 191.3 kB / 450.7 MB, free: 28.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.3649, allocations: 2.417 MB / 453.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.3649, allocations: 8.531 kB / 453.1 MB, free: 28.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.3651, allocations: 76.16 kB / 453.2 MB, free: 28.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3652, allocations: 90.62 kB / 453.3 MB, free: 28.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.3689, allocations: 1.956 MB / 455.2 MB, free: 27.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.3808, allocations: 7.784 MB / 463 MB, free: 23.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.3824, allocations: 1.158 MB / 464.2 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.3842, allocations: 0.9094 MB / 465.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.3844, allocations: 124.6 kB / 465.2 MB, free: 22.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3844, allocations: 49.52 kB / 465.3 MB, free: 22.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.737e-06/0.3844, allocations: 0 / 465.3 MB, free: 22.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01249/0.3969, allocations: 5.882 MB / 471.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.397, allocations: 74.86 kB / 471.2 MB, free: 19.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.3989, allocations: 1.293 MB / 472.5 MB, free: 18.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.399, allocations: 46.3 kB / 472.5 MB, free: 18.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.3995, allocations: 0.949 MB / 473.5 MB, free: 17.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.3997, allocations: 406.9 kB / 473.9 MB, free: 17.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.4001, allocations: 248.9 kB / 474.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.4002, allocations: 359.7 kB / 474.5 MB, free: 16.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.4011, allocations: 0.6415 MB / 475.1 MB, free: 16.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4021, allocations: 0.9998 MB / 476.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.4042, allocations: 1.729 MB / 477.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.4043, allocations: 3.438 kB / 477.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003387/0.4076, allocations: 2.246 MB / 480.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4077, allocations: 12.22 kB / 480.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4077, allocations: 12.72 kB / 480.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4088, allocations: 497 kB / 480.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4098, allocations: 307.3 kB / 480.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005394/0.4152, allocations: 7.125 MB / 488 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.4167, allocations: 95.86 kB / 488.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4168, allocations: 52 kB / 488.2 MB, free: 5.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001047/0.4179, allocations: 0.6085 MB / 488.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.4182, allocations: 151 kB / 488.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.4211, allocations: 1.95 MB / 490.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4211, allocations: 12.19 kB / 490.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4211, allocations: 7.984 kB / 490.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4211, allocations: 11.86 kB / 490.9 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.4274, allocations: 4.101 MB / 495 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.4274, allocations: 12.77 kB / 495 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.4283, allocations: 187.6 kB / 495.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.4299, allocations: 0.5347 MB / 495.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.43, allocations: 37.3 kB / 495.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009437/0.4394, allocations: 8.757 MB / 0.4927 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4394, allocations: 5.938 kB / 0.4927 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/0.4444, allocations: 2.848 MB / 0.4955 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008772/0.4453, allocations: 360 kB / 0.4959 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.4455, allocations: 31.98 kB / 0.4959 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.4463, allocations: 67.92 kB / 0.4959 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.4466, allocations: 88.81 kB / 0.496 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.4467, allocations: 35.98 kB / 0.4961 GB, free: 1.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001418/0.4481, allocations: 0.8839 MB / 0.4969 GB, free: 352 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4481, allocations: 0 / 0.4969 GB, free: 352 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001736/0.4498, allocations: 444 kB / 0.4974 GB, free: 15.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003995/0.4502, allocations: 190.6 kB / 0.4975 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003671/0.4539, allocations: 2.153 MB / 0.4996 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4539, allocations: 384 / 0.4996 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.4563, allocations: 1.453 MB / 0.5011 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.4585, allocations: 422.5 kB / 0.5015 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007669/0.4661, allocations: 4.219 MB / 0.5056 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.4676, allocations: 1.638 MB / 0.5072 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.4681, allocations: 107.4 kB / 0.5073 GB, free: 5.527 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4681, allocations: 0 / 0.5073 GB, free: 5.527 MB / 398.1 MB Notification: Performance of Templates: time 0.08136/0.5494, allocations: 71.03 MB / 0.5766 GB, free: 14.5 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 12.89868126413785]