Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008534/0.0008534, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004057/0.004057, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8878/0.8878, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.901e-05, allocations: 3.266 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.006706/0.006735, allocations: 7.97 MB / 333.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004456/0.01119, allocations: 2.781 MB / 336.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01224, allocations: 55.62 kB / 336.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.01353, allocations: 0.6054 MB / 337.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.01553, allocations: 0.7995 MB / 338 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.01613, allocations: 339.3 kB / 338.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.01831, allocations: 2.469 MB / 340.8 MB, free: 280 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/0.0193, allocations: 0.9813 MB / 341.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.02125, allocations: 1.598 MB / 343.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.0226, allocations: 1.177 MB / 344.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.02289, allocations: 280 kB / 344.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007149/0.0236, allocations: 379.8 kB / 345.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.02416, allocations: 0.8374 MB / 346 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.02492, allocations: 0.8652 MB / 346.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.0278, allocations: 3.739 MB / 350.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.02781, allocations: 7.938 kB / 350.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.02781, allocations: 0 / 350.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.342e-05/0.02786, allocations: 0 / 350.6 MB, free: 6.363 MB / 314.7 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.00366/0.03152, allocations: 2.563 MB / 353.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.03157, allocations: 11.98 kB / 353.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.03216, allocations: 303.3 kB / 353.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.03378, allocations: 1.344 MB / 354.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.03385, allocations: 136 kB / 355 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.03404, allocations: 184.4 kB / 355.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.03669, allocations: 2.514 MB / 357.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.03673, allocations: 7.953 kB / 357.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.03684, allocations: 72 kB / 357.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.355e-05/0.03691, allocations: 87.48 kB / 357.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.03933, allocations: 2.012 MB / 359.9 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.04682, allocations: 6.398 MB / 366.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.04814, allocations: 0.9886 MB / 367.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009858/0.04913, allocations: 0.8576 MB / 368.1 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.04928, allocations: 44.95 kB / 368.2 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.04931, allocations: 39.56 kB / 368.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 3.176e-06/0.04931, allocations: 4 kB / 368.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.005987/0.0553, allocations: 4.676 MB / 372.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.05534, allocations: 60.41 kB / 372.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.05678, allocations: 1.245 MB / 374.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.05684, allocations: 45.7 kB / 374.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.05726, allocations: 0.9414 MB / 375.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.05745, allocations: 360.9 kB / 375.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.05767, allocations: 210.9 kB / 375.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.05777, allocations: 357.9 kB / 376.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.05839, allocations: 0.635 MB / 376.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/0.05912, allocations: 0.922 MB / 377.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.06053, allocations: 1.645 MB / 379.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.06053, allocations: 4 kB / 379.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002711/0.06324, allocations: 2.364 MB / 381.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.06327, allocations: 11.94 kB / 381.7 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.06328, allocations: 8 kB / 381.7 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.06436, allocations: 0.7173 MB / 382.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.06483, allocations: 235.6 kB / 382.6 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006976/0.0718, allocations: 8.394 MB / 391 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.07263, allocations: 87.81 kB / 391.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.07271, allocations: 47.98 kB / 391.1 MB, free: 12.95 MB / 362.7 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.0009397/0.07365, allocations: 0.6223 MB / 391.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.07386, allocations: 139.1 kB / 391.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.07587, allocations: 1.881 MB / 393.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.07587, allocations: 8 kB / 393.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.07588, allocations: 11.94 kB / 393.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.07589, allocations: 3.984 kB / 393.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.0802, allocations: 3.541 MB / 397.3 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.0802, allocations: 4 kB / 397.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.08061, allocations: 179.8 kB / 397.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006592/0.08127, allocations: 459.1 kB / 398 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.08132, allocations: 27.98 kB / 398 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.08537, allocations: 6.274 MB / 404.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.08537, allocations: 4.062 kB / 404.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.08834, allocations: 2.756 MB / 407 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.08891, allocations: 271 kB / 407.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.08902, allocations: 24 kB / 407.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.08942, allocations: 67.92 kB / 407.4 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.0896, allocations: 88.7 kB / 407.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.08965, allocations: 31.98 kB / 407.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009374/0.09058, allocations: 0.8536 MB / 408.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.09059, allocations: 0 / 408.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001073/0.09166, allocations: 435.9 kB / 408.8 MB, free: 10.82 MB / 378.7 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.0002892/0.09195, allocations: 179.8 kB / 409 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.09425, allocations: 1.937 MB / 410.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.09425, allocations: 0 / 410.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.09542, allocations: 1.219 MB / 412.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.09641, allocations: 322.1 kB / 412.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.1008, allocations: 3.941 MB / 416.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009569/0.1018, allocations: 1.102 MB / 417.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.1021, allocations: 96.48 kB / 417.6 MB, free: 1.863 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1021, allocations: 0 / 417.6 MB, free: 1.863 MB / 378.7 MB Notification: Performance of Templates: time 0.1957/0.2978, allocations: 52.98 MB / 470.5 MB, free: 105.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.3735603503882885]