Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001994/0.001994, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002402/0.002402, allocations: 186 kB / 23.7 MB, free: 4.191 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.539/1.539, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 55.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2746, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01111/0.2858, allocations: 7.911 MB / 431 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00597/0.2917, allocations: 2.684 MB / 433.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.2929, allocations: 55.69 kB / 433.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.2945, allocations: 0.59 MB / 434.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.297, allocations: 0.7769 MB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.2978, allocations: 323.5 kB / 435.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.3006, allocations: 2.358 MB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.302, allocations: 0.9736 MB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3035, allocations: 1.094 MB / 439.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.3056, allocations: 1.304 MB / 441.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004343/0.306, allocations: 280 kB / 441.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007873/0.3068, allocations: 367.8 kB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008477/0.3076, allocations: 0.8025 MB / 442.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.3088, allocations: 1.027 MB / 443.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.3129, allocations: 3.712 MB / 447.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3129, allocations: 0 / 447.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3129, allocations: 0 / 447.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.232e-05/0.313, allocations: 0 / 447.3 MB, free: 6.113 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005496/0.3185, allocations: 2.564 MB / 449.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3185, allocations: 12.03 kB / 449.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.3192, allocations: 271.4 kB / 450.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.3219, allocations: 1.337 MB / 451.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.322, allocations: 132 kB / 451.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.3223, allocations: 192.1 kB / 451.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.3263, allocations: 2.51 MB / 454.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.3264, allocations: 7.969 kB / 454.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.3266, allocations: 75.98 kB / 454.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3267, allocations: 83.5 kB / 454.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.3302, allocations: 2.024 MB / 456.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.3414, allocations: 6.39 MB / 462.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.3432, allocations: 0.9741 MB / 463.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.3449, allocations: 0.8651 MB / 464.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.3451, allocations: 40.97 kB / 464.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3452, allocations: 43.56 kB / 464.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.476e-06/0.3452, allocations: 0 / 464.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009437/0.3546, allocations: 4.683 MB / 469.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.3547, allocations: 64.41 kB / 469.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.3565, allocations: 1.241 MB / 470.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/0.3565, allocations: 45.7 kB / 470.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007567/0.3573, allocations: 0.9296 MB / 471.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.3576, allocations: 372.9 kB / 472.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.358, allocations: 218.9 kB / 472.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3582, allocations: 345.9 kB / 472.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.3592, allocations: 0.635 MB / 473.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3605, allocations: 0.922 MB / 474.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.3629, allocations: 1.649 MB / 475.9 MB, free: 8.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3629, allocations: 4 kB / 475.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004353/0.3672, allocations: 2.368 MB / 478.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3673, allocations: 8 kB / 478.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3673, allocations: 8.25 kB / 478.3 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.3692, allocations: 0.7157 MB / 479 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.37, allocations: 227.7 kB / 479.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.3815, allocations: 8.388 MB / 487.6 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3827, allocations: 83.86 kB / 487.7 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.3828, allocations: 48 kB / 487.7 MB, free: 12.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001176/0.384, allocations: 0.6302 MB / 488.4 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.3842, allocations: 135.1 kB / 488.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.3876, allocations: 1.884 MB / 490.4 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3876, allocations: 15.94 kB / 490.4 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3876, allocations: 4 kB / 490.4 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.3877, allocations: 7.969 kB / 490.4 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006633/0.3943, allocations: 3.51 MB / 493.9 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3943, allocations: 4 kB / 493.9 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.3951, allocations: 184 kB / 494.1 MB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3964, allocations: 462.9 kB / 494.6 MB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.3965, allocations: 27.98 kB / 494.6 MB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006982/0.4034, allocations: 6.274 MB / 0.4891 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4034, allocations: 0 / 0.4891 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004776/0.4082, allocations: 2.764 MB / 0.4918 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.4092, allocations: 267 kB / 0.4921 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.4094, allocations: 23.98 kB / 0.4921 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.4101, allocations: 67.92 kB / 0.4922 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.4104, allocations: 92.72 kB / 0.4923 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.4104, allocations: 31.98 kB / 0.4923 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.4118, allocations: 0.8454 MB / 0.4931 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4118, allocations: 3.938 kB / 0.4931 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001449/0.4132, allocations: 431.9 kB / 0.4935 GB, free: 10.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * 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 {(2,12,100.0%), (1,1,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.0004404/0.4137, allocations: 186.1 kB / 0.4937 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.4174, allocations: 1.942 MB / 0.4956 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4174, allocations: 0 / 0.4956 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.4196, allocations: 1.233 MB / 0.4968 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.4213, allocations: 307.1 kB / 0.4971 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/0.429, allocations: 4.077 MB / 0.5011 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.4303, allocations: 1.102 MB / 0.5022 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009819/0.4313, allocations: 303 kB / 0.5024 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.4315, allocations: 87.42 kB / 0.5025 GB, free: 1.246 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4315, allocations: 0 / 0.5025 GB, free: 1.246 MB / 414.1 MB Notification: Performance of Templates: time 0.04285/0.4744, allocations: 25.35 MB / 0.5273 GB, free: 8.23 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.751541754230857]