Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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.001523/0.001523, allocations: 107.1 kB / 19.76 MB, free: 2.551 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.001706/0.001706, allocations: 184.3 kB / 22.93 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 51.92 kB / 345.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2877, allocations: 49.12 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01106/0.2987, allocations: 9.523 MB / 404.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007936/0.3067, allocations: 3.419 MB / 407.5 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.3093, allocations: 41.38 kB / 407.5 MB, free: 248 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.3123, allocations: 0.7725 MB / 408.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.3162, allocations: 0.8353 MB / 409.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.3181, allocations: 471.3 kB / 409.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004719/0.3228, allocations: 2.414 MB / 412 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.3246, allocations: 1.022 MB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.3268, allocations: 1.095 MB / 414.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.3295, allocations: 1.435 MB / 415.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.33, allocations: 279.4 kB / 415.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.3311, allocations: 409.7 kB / 416.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009332/0.332, allocations: 0.8166 MB / 417 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3338, allocations: 1.281 MB / 418.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.3394, allocations: 3.741 MB / 422.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3394, allocations: 0 / 422.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3394, allocations: 0 / 422.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.3395, allocations: 1.5 kB / 422.1 MB, free: 7.238 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008619/0.3481, allocations: 2.727 MB / 424.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3482, allocations: 9.656 kB / 424.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.3495, allocations: 282.6 kB / 425.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/0.353, allocations: 1.316 MB / 426.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.3532, allocations: 151.6 kB / 426.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006885/0.3539, allocations: 192 kB / 426.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/0.3596, allocations: 2.424 MB / 429.1 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-05/0.3596, allocations: 11.89 kB / 429.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.3598, allocations: 79.98 kB / 429.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.36, allocations: 95.67 kB / 429.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/0.3641, allocations: 1.982 MB / 431.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.3805, allocations: 7.345 MB / 438.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.3829, allocations: 1.294 MB / 440 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.3847, allocations: 0.8228 MB / 440.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/0.3851, allocations: 126.1 kB / 440.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.3864, allocations: 0.6797 MB / 441.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.817e-06/0.3864, allocations: 3.938 kB / 441.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01851/0.405, allocations: 7.394 MB / 449 MB, free: 12.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.4051, allocations: 192.9 kB / 449.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.4077, allocations: 1.422 MB / 450.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.408, allocations: 49.7 kB / 450.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.4092, allocations: 0.9543 MB / 451.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000599/0.4098, allocations: 444.3 kB / 452 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/0.4103, allocations: 243.5 kB / 452.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.4105, allocations: 353.9 kB / 452.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.4117, allocations: 0.6402 MB / 453.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.4132, allocations: 1.003 MB / 454.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.416, allocations: 1.712 MB / 456 MB, free: 5.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.416, allocations: 0 / 456 MB, free: 5.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00474/0.4207, allocations: 2.337 MB / 458.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.4208, allocations: 12.03 kB / 458.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.4208, allocations: 8 kB / 458.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.4221, allocations: 0.4921 MB / 458.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4235, allocations: 299.5 kB / 459.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/0.432, allocations: 7.179 MB / 466.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.4342, allocations: 95.84 kB / 466.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003125/0.4345, allocations: 55.98 kB / 466.4 MB, free: 10.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001881/0.4364, allocations: 0.634 MB / 467.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006113/0.437, allocations: 166.9 kB / 467.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.4414, allocations: 2.135 MB / 469.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.4414, allocations: 12 kB / 469.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.4414, allocations: 4 kB / 469.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4415, allocations: 7.969 kB / 469.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009816/0.4513, allocations: 4.521 MB / 473.9 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.4513, allocations: 4 kB / 473.9 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.4522, allocations: 196.1 kB / 474.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.4538, allocations: 0.5349 MB / 474.6 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.454, allocations: 35.98 kB / 474.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.4649, allocations: 8.723 MB / 483.4 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.4649, allocations: 4 kB / 483.4 MB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007061/0.472, allocations: 3.088 MB / 486.5 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/0.4736, allocations: 375.9 kB / 486.9 MB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.474, allocations: 43.98 kB / 486.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/0.4749, allocations: 63.94 kB / 487 MB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.4752, allocations: 104.7 kB / 487.1 MB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.4753, allocations: 43.92 kB / 487.1 MB, free: 4.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001846/0.4771, allocations: 0.9792 MB / 488.1 MB, free: 3.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4771, allocations: 0 / 488.1 MB, free: 3.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002633/0.4798, allocations: 455.9 kB / 488.5 MB, free: 3.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,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.001953/0.4817, allocations: 0.4927 MB / 489 MB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004663/0.4864, allocations: 2.185 MB / 491.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.4864, allocations: 0 / 491.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.4892, allocations: 1.46 MB / 492.7 MB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.4919, allocations: 436.1 kB / 493.1 MB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009142/0.5011, allocations: 4.316 MB / 497.4 MB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/0.503, allocations: 1.709 MB / 499.1 MB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.5044, allocations: 329 kB / 499.4 MB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.5048, allocations: 107.4 kB / 499.5 MB, free: 8.113 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5048, allocations: 0 / 499.5 MB, free: 8.113 MB / 414.1 MB Notification: Performance of Templates: time 0.06239/0.5672, allocations: 25.78 MB / 0.513 GB, free: 14.28 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.202693300321698]