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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 194 kB / 22.76 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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.001579/0.001579, allocations: 51.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2784, allocations: 52.14 MB / 421.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01173/0.2901, allocations: 8.946 MB / 430.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.2963, allocations: 2.882 MB / 433.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.2979, allocations: 43.81 kB / 433.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.2999, allocations: 0.6368 MB / 433.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.3027, allocations: 0.7652 MB / 434.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.3036, allocations: 319.5 kB / 434.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003334/0.3069, allocations: 2.364 MB / 437.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.3088, allocations: 1.289 MB / 438.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.3105, allocations: 1.071 MB / 439.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.3129, allocations: 1.374 MB / 441 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004904/0.3134, allocations: 280 kB / 441.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008673/0.3142, allocations: 371.8 kB / 441.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009827/0.3152, allocations: 0.8102 MB / 442.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.3172, allocations: 1.256 MB / 443.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.3221, allocations: 3.692 MB / 447.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3221, allocations: 0 / 447.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3221, allocations: 0 / 447.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.212e-05/0.3222, allocations: 0 / 447.4 MB, free: 4.953 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.006416/0.3286, allocations: 2.635 MB / 450 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3286, allocations: 12.03 kB / 450 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007805/0.3294, allocations: 271.4 kB / 450.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.3321, allocations: 1.401 MB / 451.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.3323, allocations: 135.9 kB / 451.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.3327, allocations: 183.9 kB / 452 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/0.3371, allocations: 2.41 MB / 454.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.3371, allocations: 7.953 kB / 454.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.3373, allocations: 75.98 kB / 454.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3374, allocations: 87.48 kB / 454.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.341, allocations: 2.016 MB / 456.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.3539, allocations: 7.384 MB / 464 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.356, allocations: 1.218 MB / 465.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.3578, allocations: 0.8729 MB / 466.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.358, allocations: 118.1 kB / 466.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.3581, allocations: 43.56 kB / 466.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.376e-06/0.3581, allocations: 0 / 466.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01079/0.3688, allocations: 4.928 MB / 471.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.3689, allocations: 64.41 kB / 471.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.3713, allocations: 1.373 MB / 472.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.3714, allocations: 49.64 kB / 472.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008905/0.3723, allocations: 0.9225 MB / 473.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/0.3728, allocations: 368.9 kB / 473.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.3732, allocations: 214.9 kB / 474.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3734, allocations: 357.9 kB / 474.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3744, allocations: 0.6311 MB / 475.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.3757, allocations: 0.9258 MB / 476 MB, free: 7.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.3781, allocations: 1.641 MB / 477.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.3781, allocations: 4 kB / 477.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004473/0.3826, allocations: 2.383 MB / 480.1 MB, free: 3.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.3826, allocations: 11.12 kB / 480.1 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3827, allocations: 12 kB / 480.1 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.3846, allocations: 0.7083 MB / 480.8 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3856, allocations: 235.7 kB / 481 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.3976, allocations: 8.723 MB / 489.7 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3989, allocations: 83.86 kB / 489.8 MB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.399, allocations: 48 kB / 489.9 MB, free: 9.293 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.001218/0.4002, allocations: 0.634 MB / 490.5 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.4006, allocations: 147.1 kB / 490.7 MB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.4042, allocations: 1.897 MB / 492.6 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4042, allocations: 8 kB / 492.6 MB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4042, allocations: 8 kB / 492.6 MB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.4042, allocations: 7.969 kB / 492.6 MB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/0.4123, allocations: 3.989 MB / 496.6 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4123, allocations: 0 / 496.6 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008792/0.4131, allocations: 188 kB / 496.7 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.4145, allocations: 470.2 kB / 497.2 MB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4146, allocations: 23.98 kB / 497.2 MB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/0.4223, allocations: 6.689 MB / 0.4921 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.4223, allocations: 7.938 kB / 0.4921 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/0.4275, allocations: 2.768 MB / 0.4948 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.4285, allocations: 364 kB / 0.4952 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.4289, allocations: 23.98 kB / 0.4952 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/0.4299, allocations: 75.92 kB / 0.4953 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.4302, allocations: 80.77 kB / 0.4953 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.4302, allocations: 31.98 kB / 0.4954 GB, free: 7.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.4321, allocations: 0.9542 MB / 0.4963 GB, free: 6.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4321, allocations: 0 / 0.4963 GB, free: 6.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001807/0.4339, allocations: 432 kB / 0.4967 GB, free: 5.91 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.0004895/0.4344, allocations: 189.2 kB / 0.4969 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003895/0.4383, allocations: 1.945 MB / 0.4988 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.4383, allocations: 0 / 0.4988 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.4406, allocations: 1.302 MB / 0.5001 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.4431, allocations: 386.5 kB / 0.5004 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/0.4514, allocations: 4.115 MB / 0.5045 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.4532, allocations: 1.673 MB / 0.5061 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.4537, allocations: 111.4 kB / 0.5062 GB, free: 12.01 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4537, allocations: 0 / 0.5062 GB, free: 12.01 MB / 430.1 MB Notification: Performance of Templates: time 0.2551/0.7088, allocations: 52.93 MB / 0.5579 GB, free: 94.77 MB / 446.1 MB [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/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