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.001344/0.001344, allocations: 107.6 kB / 21.18 MB, free: 452 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.001431/0.001431, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.369/1.369, allocations: 207.7 MB / 235.3 MB, free: 9.797 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [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.001754/0.001754, allocations: 51.92 kB / 347.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.267, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009458/0.2764, allocations: 8.367 MB / 404.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006233/0.2827, allocations: 3.219 MB / 407.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.2847, allocations: 53.59 kB / 408 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.2872, allocations: 0.7224 MB / 408.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.2904, allocations: 0.8505 MB / 409.6 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.2918, allocations: 458.1 kB / 410 MB, free: 24 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.2956, allocations: 2.422 MB / 412.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.2972, allocations: 0.9785 MB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.2992, allocations: 1.121 MB / 414.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.3015, allocations: 1.341 MB / 415.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000459/0.302, allocations: 280.3 kB / 416.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.303, allocations: 407 kB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.3039, allocations: 0.8204 MB / 417.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.3052, allocations: 1.032 MB / 418.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.3096, allocations: 3.762 MB / 422.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3096, allocations: 0 / 422.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3096, allocations: 0 / 422.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.483e-05/0.3097, allocations: 5.328 kB / 422.2 MB, free: 8.504 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.005519/0.3152, allocations: 2.653 MB / 424.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3153, allocations: 15.98 kB / 424.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.3157, allocations: 270.6 kB / 425.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007212/0.3164, allocations: 287.3 kB / 425.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.319, allocations: 1.255 MB / 426.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.3191, allocations: 135.7 kB / 426.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.3194, allocations: 192 kB / 427 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.3237, allocations: 2.54 MB / 429.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.3237, allocations: 3.953 kB / 429.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.3239, allocations: 75.94 kB / 429.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.324, allocations: 95.67 kB / 429.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.3275, allocations: 1.978 MB / 431.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.3394, allocations: 6.621 MB / 438.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3413, allocations: 1.072 MB / 439.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.3429, allocations: 0.8108 MB / 440.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.3431, allocations: 48.95 kB / 440.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.3443, allocations: 0.7918 MB / 441 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.035e-06/0.3443, allocations: 0 / 441 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01625/0.3605, allocations: 7.019 MB / 448 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.3607, allocations: 192.9 kB / 448.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.3628, allocations: 1.438 MB / 449.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/0.3629, allocations: 49.64 kB / 449.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/0.3639, allocations: 0.9661 MB / 450.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/0.3643, allocations: 436.3 kB / 451.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.3647, allocations: 243.5 kB / 451.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3649, allocations: 365.9 kB / 451.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3659, allocations: 0.6325 MB / 452.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3674, allocations: 1.103 MB / 453.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.3699, allocations: 1.708 MB / 455.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3699, allocations: 4 kB / 455.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004187/0.3741, allocations: 2.273 MB / 457.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3741, allocations: 8 kB / 457.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.3741, allocations: 8 kB / 457.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.3754, allocations: 496 kB / 457.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.3765, allocations: 291.5 kB / 458.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/0.3841, allocations: 6.83 MB / 465 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3853, allocations: 91.86 kB / 465.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.3855, allocations: 59.98 kB / 465.2 MB, free: 12.96 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.001154/0.3866, allocations: 0.6417 MB / 465.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.3869, allocations: 163 kB / 466 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/0.3907, allocations: 2.06 MB / 468 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.3907, allocations: 12 kB / 468 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.3907, allocations: 4 kB / 468 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.3907, allocations: 7.984 kB / 468 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007746/0.3985, allocations: 4.211 MB / 472.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.3985, allocations: 4 kB / 472.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.3993, allocations: 195.7 kB / 472.5 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.4007, allocations: 0.535 MB / 473 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.4008, allocations: 31.98 kB / 473 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008969/0.4097, allocations: 8.265 MB / 481.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.4097, allocations: 4 kB / 481.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/0.4149, allocations: 3.029 MB / 484.3 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009813/0.4159, allocations: 298.8 kB / 484.6 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.4161, allocations: 39.98 kB / 484.6 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.4169, allocations: 67.94 kB / 484.7 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.4172, allocations: 104.7 kB / 484.8 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.4172, allocations: 39.98 kB / 484.9 MB, free: 8.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.4188, allocations: 0.987 MB / 485.8 MB, free: 7.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4188, allocations: 0 / 485.8 MB, free: 7.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001608/0.4205, allocations: 447.9 kB / 486.3 MB, free: 7.141 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 (106): * Single equations (assignments): 99 * 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.006808/0.4273, allocations: 3.985 MB / 490.3 MB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003727/0.431, allocations: 2.034 MB / 492.3 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.431, allocations: 0 / 492.3 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.4334, allocations: 1.404 MB / 493.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.4355, allocations: 424.2 kB / 494.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.4613, allocations: 16.08 MB / 0.4982 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.4627, allocations: 1.126 MB / 0.4993 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00099/0.4637, allocations: 329 kB / 0.4997 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.4647, allocations: 0.7492 MB / 0.5004 GB, free: 12.25 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4647, allocations: 0 / 0.5004 GB, free: 12.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09993/0.5647, allocations: 44.5 MB / 0.5438 GB, free: 15.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.91, allocations: 11.78 kB / 0.5439 GB, free: 15.5 MB / 478.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 52.5] 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 646] Reference file matches [Calling sys.exit(0), Time elapsed: 43.41840498102829]