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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 204.8 kB / 25.24 MB, free: 3.547 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.547/1.547, allocations: 207.6 MB / 236 MB, free: 9.977 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 60.3 kB / 348.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.253, allocations: 49.15 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009818/0.2628, allocations: 9.527 MB / 407.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006418/0.2693, allocations: 3.412 MB / 410.6 MB, free: 348 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.271, allocations: 57.84 kB / 410.6 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.2734, allocations: 0.7693 MB / 411.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.2768, allocations: 0.8574 MB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.2784, allocations: 466.5 kB / 412.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003974/0.2824, allocations: 2.428 MB / 415.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.2845, allocations: 1.022 MB / 416.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.2866, allocations: 1.123 MB / 417.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.2894, allocations: 1.431 MB / 418.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007989/0.2902, allocations: 279.5 kB / 419 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2917, allocations: 409.6 kB / 419.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2932, allocations: 0.821 MB / 420.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.2961, allocations: 1.282 MB / 421.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005852/0.302, allocations: 3.74 MB / 425.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.302, allocations: 0 / 425.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.302, allocations: 1.438 kB / 425.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.3021, allocations: 0 / 425.2 MB, free: 7.117 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.007284/0.3094, allocations: 2.656 MB / 427.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3094, allocations: 15.98 kB / 427.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3105, allocations: 279.3 kB / 428.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.3137, allocations: 1.239 MB / 429.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.3139, allocations: 135.7 kB / 429.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.3145, allocations: 199.9 kB / 429.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005784/0.3202, allocations: 2.436 MB / 432.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.838e-05/0.3203, allocations: 7.953 kB / 432.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.3206, allocations: 72 kB / 432.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.3208, allocations: 99.67 kB / 432.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004044/0.3248, allocations: 1.982 MB / 434.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.3386, allocations: 7.198 MB / 441.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.3405, allocations: 1.071 MB / 442.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.3421, allocations: 0.8263 MB / 443.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.3424, allocations: 48.95 kB / 443.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.3436, allocations: 0.6836 MB / 444.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.406e-06/0.3436, allocations: 0 / 444.1 MB, free: 4.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01714/0.3607, allocations: 7.012 MB / 451.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.3609, allocations: 192.9 kB / 451.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.3632, allocations: 1.415 MB / 452.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.3634, allocations: 53.69 kB / 452.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.3645, allocations: 0.9544 MB / 453.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.365, allocations: 444.3 kB / 454.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/0.3655, allocations: 247.5 kB / 454.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3656, allocations: 357.9 kB / 454.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.3668, allocations: 0.6325 MB / 455.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.3682, allocations: 1.011 MB / 456.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.3709, allocations: 1.704 MB / 458.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.3709, allocations: 4 kB / 458.1 MB, free: 5.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004555/0.3755, allocations: 2.265 MB / 460.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.3755, allocations: 8 kB / 460.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.3755, allocations: 12 kB / 460.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.3768, allocations: 492.1 kB / 460.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.3779, allocations: 291.6 kB / 461.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.386, allocations: 6.882 MB / 468.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.3875, allocations: 99.84 kB / 468.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.3877, allocations: 48 kB / 468.2 MB, free: 11.51 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.001319/0.389, allocations: 0.6456 MB / 468.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/0.3895, allocations: 163 kB / 469 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.3936, allocations: 2.052 MB / 471.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3936, allocations: 12 kB / 471.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.3936, allocations: 8.062 kB / 471.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.3937, allocations: 7.969 kB / 471.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00924/0.4029, allocations: 4.417 MB / 475.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4029, allocations: 4 kB / 475.5 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/0.4038, allocations: 191.7 kB / 475.7 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.4052, allocations: 0.5396 MB / 476.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.4053, allocations: 35.97 kB / 476.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009442/0.4148, allocations: 8.312 MB / 484.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4148, allocations: 7.938 kB / 484.6 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.4204, allocations: 3.005 MB / 487.6 MB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.4215, allocations: 302.8 kB / 487.9 MB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/0.422, allocations: 32 kB / 487.9 MB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.423, allocations: 75.92 kB / 488 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.4233, allocations: 100.7 kB / 488.1 MB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.702e-05/0.4234, allocations: 39.98 kB / 488.2 MB, free: 6.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.4253, allocations: 0.9792 MB / 489.1 MB, free: 5.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4253, allocations: 4 kB / 489.1 MB, free: 5.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002159/0.4274, allocations: 451.9 kB / 489.6 MB, free: 5.441 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.001889/0.4293, allocations: 0.4929 MB / 490.1 MB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004055/0.4334, allocations: 2.031 MB / 492.1 MB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.4334, allocations: 4.25 kB / 492.1 MB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.4359, allocations: 1.4 MB / 493.5 MB, free: 1.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.4384, allocations: 428.2 kB / 493.9 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.4465, allocations: 4.374 MB / 498.3 MB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.4481, allocations: 1.694 MB / 500 MB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.4486, allocations: 115.4 kB / 0.4884 GB, free: 10.68 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4486, allocations: 0 / 0.4884 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Templates: time 0.09046/0.5391, allocations: 73.67 MB / 0.5603 GB, free: 0.8477 MB / 478.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/jenkins1/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/jenkins1/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: 16.257692618994042]