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.001343/0.001343, allocations: 106.9 kB / 19.8 MB, free: 2.496 MB / 14.72 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.001517/0.001517, allocations: 218.8 kB / 23 MB, free: 5.586 MB / 14.72 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 1.514/1.514, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002569/0.002569, allocations: 63.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2852, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01144/0.2966, allocations: 9.031 MB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.3025, allocations: 2.972 MB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.3037, allocations: 39.88 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.3056, allocations: 0.6445 MB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.308, allocations: 0.7613 MB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000843/0.3089, allocations: 343.5 kB / 443.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002817/0.3117, allocations: 2.37 MB / 446 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.3132, allocations: 1.02 MB / 447 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.3146, allocations: 1.078 MB / 448.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.3164, allocations: 1.386 MB / 449.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.3168, allocations: 280 kB / 449.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006992/0.3175, allocations: 383.8 kB / 450.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009217/0.3184, allocations: 0.8102 MB / 450.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.3198, allocations: 1.264 MB / 452.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.324, allocations: 3.711 MB / 455.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.324, allocations: 7.938 kB / 455.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.324, allocations: 0 / 455.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.138e-05/0.3241, allocations: 0 / 455.9 MB, free: 13.3 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005339/0.3294, allocations: 2.655 MB / 458.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3295, allocations: 8.031 kB / 458.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009551/0.3304, allocations: 303.3 kB / 458.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.3329, allocations: 1.417 MB / 460.3 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.3331, allocations: 132 kB / 460.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.3334, allocations: 195.8 kB / 460.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.3376, allocations: 2.406 MB / 463 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.3377, allocations: 7.938 kB / 463 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.3378, allocations: 75.94 kB / 463.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.3379, allocations: 87.48 kB / 463.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.3414, allocations: 2.016 MB / 465.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.3541, allocations: 7.396 MB / 472.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.3561, allocations: 1.21 MB / 473.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.3578, allocations: 0.8612 MB / 474.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.358, allocations: 118.1 kB / 474.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/0.3581, allocations: 47.5 kB / 474.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 7.655e-06/0.3581, allocations: 0 / 474.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009635/0.3677, allocations: 4.92 MB / 479.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3678, allocations: 64.41 kB / 479.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.3699, allocations: 1.385 MB / 481.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.37, allocations: 45.7 kB / 481.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/0.3709, allocations: 0.9305 MB / 482.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.3713, allocations: 368.9 kB / 482.5 MB, free: 2.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000476/0.3718, allocations: 218.8 kB / 482.7 MB, free: 1.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.372, allocations: 357.9 kB / 483.1 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3731, allocations: 0.6272 MB / 483.7 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.3744, allocations: 0.922 MB / 484.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.377, allocations: 1.649 MB / 486.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.377, allocations: 0 / 486.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004658/0.3817, allocations: 2.379 MB / 488.6 MB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.3817, allocations: 12 kB / 488.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3817, allocations: 8.25 kB / 488.7 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.3836, allocations: 0.7165 MB / 489.4 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.3846, allocations: 235.6 kB / 489.6 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.3975, allocations: 8.738 MB / 498.4 MB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3988, allocations: 91.97 kB / 498.4 MB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3989, allocations: 47.98 kB / 498.5 MB, free: 1.551 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.001238/0.4001, allocations: 0.6223 MB / 499.1 MB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.4004, allocations: 151.1 kB / 499.3 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/0.404, allocations: 1.897 MB / 0.4894 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.4041, allocations: 12 kB / 0.4894 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4041, allocations: 4 kB / 0.4894 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4041, allocations: 3.984 kB / 0.4894 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007595/0.4117, allocations: 4.001 MB / 0.4933 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.4117, allocations: 7.938 kB / 0.4933 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/0.4125, allocations: 179.8 kB / 0.4935 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.4138, allocations: 463 kB / 0.494 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.739e-05/0.4139, allocations: 23.98 kB / 0.494 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008069/0.4219, allocations: 6.691 MB / 0.5005 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.4219, allocations: 7.969 kB / 0.5005 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.4269, allocations: 2.784 MB / 0.5032 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008578/0.4277, allocations: 364.2 kB / 0.5036 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.428, allocations: 24 kB / 0.5036 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.4287, allocations: 67.91 kB / 0.5037 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.429, allocations: 76.89 kB / 0.5037 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.429, allocations: 31.98 kB / 0.5038 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.4306, allocations: 0.9661 MB / 0.5047 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4306, allocations: 0 / 0.5047 GB, free: 14.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001436/0.432, allocations: 443.9 kB / 0.5051 GB, free: 14.13 MB / 430.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.0003922/0.4324, allocations: 183 kB / 0.5053 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003767/0.4362, allocations: 1.946 MB / 0.5072 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4362, allocations: 0 / 0.5072 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.4384, allocations: 1.309 MB / 0.5085 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.4403, allocations: 375.5 kB / 0.5089 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006893/0.4472, allocations: 4.098 MB / 0.5129 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.4488, allocations: 1.693 MB / 0.5145 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.4498, allocations: 316 kB / 0.5148 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.4501, allocations: 99.36 kB / 0.5149 GB, free: 3.945 MB / 430.1 MB Notification: Performance of SimCode: time 1.764e-06/0.4501, allocations: 0 / 0.5149 GB, free: 3.945 MB / 430.1 MB Notification: Performance of Templates: time 0.2349/0.685, allocations: 25.17 MB / 0.5395 GB, free: 102.1 MB / 446.1 MB " [Timeout remaining time 659] 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: 5.700177040882409]