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.001311/0.001311, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001656/0.001656, allocations: 187.7 kB / 23.72 MB, free: 4.68 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.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.001556/0.001556, allocations: 51.91 kB / 371 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2865, allocations: 52.18 MB / 423.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01238/0.2988, allocations: 9.001 MB / 432.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.3051, allocations: 2.874 MB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.3063, allocations: 51.69 kB / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.308, allocations: 0.6407 MB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.3101, allocations: 0.7847 MB / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.3108, allocations: 327.4 kB / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003012/0.3138, allocations: 2.358 MB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.3154, allocations: 1.017 MB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.317, allocations: 1.094 MB / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.3189, allocations: 1.378 MB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.3193, allocations: 280 kB / 442.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.32, allocations: 379.8 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009029/0.3209, allocations: 0.8142 MB / 444.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.3224, allocations: 1.256 MB / 445.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.3265, allocations: 3.688 MB / 449 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3265, allocations: 0 / 449 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3265, allocations: 0 / 449 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.381e-05/0.3266, allocations: 0 / 449 MB, free: 4.594 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.005418/0.332, allocations: 2.56 MB / 451.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.332, allocations: 12.03 kB / 451.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.3328, allocations: 275.4 kB / 451.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.3357, allocations: 1.329 MB / 453.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3358, allocations: 135.9 kB / 453.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.3361, allocations: 192.1 kB / 453.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004438/0.3406, allocations: 2.409 MB / 455.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.3406, allocations: 7.938 kB / 456 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.3408, allocations: 75.94 kB / 456 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.3409, allocations: 91.48 kB / 456.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003642/0.3446, allocations: 2.012 MB / 458.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3572, allocations: 7.253 MB / 465.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.3591, allocations: 0.9815 MB / 466.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.361, allocations: 0.8612 MB / 467.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.3612, allocations: 48.91 kB / 467.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3612, allocations: 47.5 kB / 467.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.3612, allocations: 0 / 467.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01002/0.3713, allocations: 4.693 MB / 472 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3713, allocations: 60.41 kB / 472.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.3735, allocations: 1.384 MB / 473.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.3736, allocations: 41.7 kB / 473.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007977/0.3744, allocations: 0.9187 MB / 474.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.3747, allocations: 372.8 kB / 474.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.3751, allocations: 214.8 kB / 475 MB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3753, allocations: 353.9 kB / 475.3 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3764, allocations: 0.6311 MB / 476 MB, free: 9.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3777, allocations: 0.922 MB / 476.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.3802, allocations: 1.649 MB / 478.5 MB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3802, allocations: 4 kB / 478.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004531/0.3848, allocations: 2.387 MB / 480.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3848, allocations: 8 kB / 480.9 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.3848, allocations: 8 kB / 480.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.3867, allocations: 0.708 MB / 481.7 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/0.3876, allocations: 239.6 kB / 481.9 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.3994, allocations: 8.523 MB / 490.4 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.4007, allocations: 91.8 kB / 490.5 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4008, allocations: 44 kB / 490.5 MB, free: 10.16 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.001139/0.4019, allocations: 0.6262 MB / 491.2 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.4022, allocations: 147.1 kB / 491.3 MB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.4058, allocations: 1.897 MB / 493.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4059, allocations: 8 kB / 493.2 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4059, allocations: 4 kB / 493.2 MB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4059, allocations: 3.984 kB / 493.2 MB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007571/0.4134, allocations: 3.957 MB / 497.2 MB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4135, allocations: 0 / 497.2 MB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/0.4143, allocations: 187.7 kB / 497.4 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4156, allocations: 459.2 kB / 497.8 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/0.4157, allocations: 27.98 kB / 497.8 MB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007171/0.4229, allocations: 6.389 MB / 0.4924 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4229, allocations: 3.984 kB / 0.4924 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004914/0.4278, allocations: 2.784 MB / 0.4951 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/0.4288, allocations: 290.9 kB / 0.4954 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.429, allocations: 24 kB / 0.4954 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.4298, allocations: 67.92 kB / 0.4955 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.4301, allocations: 88.83 kB / 0.4956 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.4301, allocations: 27.98 kB / 0.4956 GB, free: 8.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4317, allocations: 0.9543 MB / 0.4965 GB, free: 7.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4317, allocations: 0 / 0.4965 GB, free: 7.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001503/0.4332, allocations: 435.9 kB / 0.497 GB, free: 7.289 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.0003754/0.4336, allocations: 186.5 kB / 0.4971 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003689/0.4373, allocations: 1.938 MB / 0.499 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4373, allocations: 4.25 kB / 0.499 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.4395, allocations: 1.233 MB / 0.5002 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4414, allocations: 376 kB / 0.5006 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/0.4482, allocations: 4.086 MB / 0.5046 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.4498, allocations: 1.689 MB / 0.5062 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009496/0.4507, allocations: 312 kB / 0.5065 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.451, allocations: 99.42 kB / 0.5066 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.451, allocations: 3.844 kB / 0.5066 GB, free: 13.21 MB / 430.1 MB Notification: Performance of Templates: time 0.04603/0.497, allocations: 25.45 MB / 0.5315 GB, free: 3.988 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/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.872814972884953]