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.001319/0.001319, allocations: 117 kB / 18.41 MB, free: 4.664 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.001366/0.001366, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.463/1.463, allocations: 222.9 MB / 247.1 MB, free: 4.188 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_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.001552/0.001552, allocations: 51.92 kB / 358.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 49.44 MB / 408.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01086/0.1162, allocations: 8.902 MB / 417 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.122, allocations: 2.851 MB / 419.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.1235, allocations: 47.75 kB / 419.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.1253, allocations: 0.6095 MB / 420.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.1278, allocations: 0.7222 MB / 421.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.1286, allocations: 319.5 kB / 421.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003022/0.1316, allocations: 2.36 MB / 423.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.1337, allocations: 1.762 MB / 425.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.1353, allocations: 1.063 MB / 426.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.1372, allocations: 1.335 MB / 428.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004643/0.1377, allocations: 280 kB / 428.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.1385, allocations: 367.8 kB / 428.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008428/0.1394, allocations: 0.8025 MB / 429.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.1407, allocations: 1.264 MB / 430.8 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2354/0.3761, allocations: 3.685 MB / 434.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3762, allocations: 3.75 kB / 434.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3762, allocations: 0 / 434.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001646/0.3763, allocations: 0 / 434.5 MB, free: 9.508 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.006717/0.3831, allocations: 2.637 MB / 437.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3831, allocations: 12.94 kB / 437.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.384, allocations: 266 kB / 437.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.3866, allocations: 1.397 MB / 438.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3868, allocations: 134.9 kB / 438.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.3871, allocations: 187.3 kB / 439.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004785/0.3919, allocations: 2.406 MB / 441.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.904e-05/0.392, allocations: 14.05 kB / 441.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.3922, allocations: 69.91 kB / 441.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.3923, allocations: 86.31 kB / 441.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.3961, allocations: 2.018 MB / 443.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.4077, allocations: 7.397 MB / 451.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.4095, allocations: 1.264 MB / 452.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.4112, allocations: 0.9206 MB / 453.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.4114, allocations: 126.2 kB / 453.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4115, allocations: 39.72 kB / 453.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.597e-06/0.4115, allocations: 0 / 453.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009028/0.4205, allocations: 4.922 MB / 458.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4206, allocations: 61.75 kB / 458.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.4225, allocations: 1.38 MB / 459.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4226, allocations: 42.17 kB / 459.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/0.4231, allocations: 0.9215 MB / 460.7 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.4233, allocations: 367.9 kB / 461.1 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.4237, allocations: 217.1 kB / 461.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4239, allocations: 354.5 kB / 461.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.425, allocations: 0.6327 MB / 462.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.4263, allocations: 0.9241 MB / 463.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.4286, allocations: 1.649 MB / 464.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.4286, allocations: 3.688 kB / 464.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004372/0.433, allocations: 2.402 MB / 467.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.433, allocations: 7.594 kB / 467.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.4331, allocations: 10.92 kB / 467.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.4349, allocations: 0.7068 MB / 468 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/0.4359, allocations: 240 kB / 468.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.4484, allocations: 8.737 MB / 477 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.4499, allocations: 80.53 kB / 477.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.45, allocations: 51.92 kB / 477.1 MB, free: 3.066 MB / 366.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.00128/0.4513, allocations: 0.6263 MB / 477.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.4518, allocations: 151.1 kB / 477.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.4555, allocations: 1.895 MB / 479.8 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.4555, allocations: 8 kB / 479.8 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4556, allocations: 4 kB / 479.8 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4556, allocations: 5.109 kB / 479.8 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007771/0.4634, allocations: 4.012 MB / 483.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.4634, allocations: 6.625 kB / 483.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.4642, allocations: 181.1 kB / 484 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.4656, allocations: 465.8 kB / 484.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.4657, allocations: 27.98 kB / 484.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007432/0.4731, allocations: 6.686 MB / 491.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4731, allocations: 7.125 kB / 491.2 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.4781, allocations: 2.779 MB / 493.9 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.479, allocations: 372 kB / 494.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.4793, allocations: 20 kB / 494.3 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.4801, allocations: 72.8 kB / 494.4 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.4804, allocations: 82.5 kB / 494.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.4805, allocations: 31.98 kB / 494.5 MB, free: 1.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.482, allocations: 0.9504 MB / 495.5 MB, free: 260 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.482, allocations: 0 / 495.5 MB, free: 260 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001618/0.4836, allocations: 436 kB / 495.9 MB, free: 15.82 MB / 398.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.0003937/0.484, allocations: 186.1 kB / 496.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.4879, allocations: 2.016 MB / 498.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4879, allocations: 0 / 498.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.4902, allocations: 1.349 MB / 499.4 MB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.4923, allocations: 385.3 kB / 499.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.4992, allocations: 4.098 MB / 0.4921 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.5007, allocations: 1.677 MB / 0.4937 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.5012, allocations: 103.4 kB / 0.4938 GB, free: 5.965 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5013, allocations: 3.938 kB / 0.4938 GB, free: 5.961 MB / 398.1 MB Notification: Performance of Templates: time 0.06489/0.5662, allocations: 52.77 MB / 0.5454 GB, free: 1.227 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_2/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_2/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: 11.695733341970481]