Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.00125/0.00125, allocations: 112.1 kB / 21.19 MB, free: 0.7031 MB / 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.001459/0.001459, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.44/1.44, allocations: 207.6 MB / 235.3 MB, free: 9.984 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_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.001728/0.001728, allocations: 60.25 kB / 347.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2718, allocations: 49.16 MB / 396.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009016/0.2808, allocations: 8.948 MB / 405.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.2866, allocations: 2.943 MB / 408.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.288, allocations: 48.44 kB / 408.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.2897, allocations: 0.6421 MB / 408.9 MB, free: 364 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.2921, allocations: 0.7788 MB / 409.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.2929, allocations: 324.4 kB / 410 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.2966, allocations: 2.391 MB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.2982, allocations: 0.9924 MB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.3002, allocations: 1.086 MB / 414.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.3026, allocations: 1.38 MB / 415.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.3031, allocations: 283.1 kB / 416.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008959/0.304, allocations: 378.6 kB / 416.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009299/0.3049, allocations: 0.8002 MB / 417.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.3065, allocations: 1.264 MB / 418.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.3111, allocations: 3.694 MB / 422.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3111, allocations: 1.406 kB / 422.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3111, allocations: 4 kB / 422.3 MB, free: 8.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.427e-05/0.3112, allocations: 0 / 422.3 MB, free: 8.09 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006408/0.3176, allocations: 2.555 MB / 424.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3177, allocations: 18.48 kB / 424.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000415/0.3181, allocations: 269.7 kB / 425.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007602/0.3188, allocations: 269.3 kB / 425.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.3215, allocations: 1.249 MB / 426.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3216, allocations: 139.9 kB / 426.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.3219, allocations: 191.9 kB / 427 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.326, allocations: 2.406 MB / 429.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/0.326, allocations: 7.953 kB / 429.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.3262, allocations: 72 kB / 429.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.3263, allocations: 87.5 kB / 429.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.3298, allocations: 2.024 MB / 431.6 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3426, allocations: 7.249 MB / 438.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.3446, allocations: 0.987 MB / 439.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.3463, allocations: 0.8651 MB / 440.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.3466, allocations: 40.97 kB / 440.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3466, allocations: 43.56 kB / 440.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.386e-06/0.3466, allocations: 0 / 440.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01047/0.3571, allocations: 4.738 MB / 445.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.3571, allocations: 60.41 kB / 445.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.3595, allocations: 1.376 MB / 446.9 MB, free: 388 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.3596, allocations: 45.64 kB / 447 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/0.3604, allocations: 0.9149 MB / 447.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.3608, allocations: 372.9 kB / 448.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.3612, allocations: 214.9 kB / 448.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3614, allocations: 349.9 kB / 448.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.3625, allocations: 0.6388 MB / 449.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.3638, allocations: 0.9259 MB / 450.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.3662, allocations: 1.649 MB / 452 MB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.3662, allocations: 4 kB / 452 MB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004485/0.3707, allocations: 2.376 MB / 454.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.3707, allocations: 8 kB / 454.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.3707, allocations: 8 kB / 454.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.3726, allocations: 0.712 MB / 455.1 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.3735, allocations: 239.6 kB / 455.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.3852, allocations: 8.538 MB / 463.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.3865, allocations: 79.91 kB / 464 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/0.3866, allocations: 44 kB / 464 MB, free: 14.77 MB / 382.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.001181/0.3878, allocations: 0.6302 MB / 464.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.3881, allocations: 151 kB / 464.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.3915, allocations: 1.893 MB / 466.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.3915, allocations: 12 kB / 466.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3915, allocations: 0 / 466.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.3915, allocations: 7.984 kB / 466.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007137/0.3987, allocations: 3.968 MB / 470.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.3987, allocations: 4 kB / 470.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.3995, allocations: 187.7 kB / 470.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.4008, allocations: 467.1 kB / 471.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.744e-05/0.4009, allocations: 23.98 kB / 471.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.4082, allocations: 6.376 MB / 477.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.4082, allocations: 11.95 kB / 477.7 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.4129, allocations: 2.765 MB / 480.5 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.414, allocations: 290.9 kB / 480.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.4142, allocations: 20 kB / 480.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.4149, allocations: 79.91 kB / 480.9 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.4152, allocations: 80.91 kB / 480.9 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.4152, allocations: 31.98 kB / 481 MB, free: 13.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.4168, allocations: 0.9542 MB / 481.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4168, allocations: 0 / 481.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001739/0.4185, allocations: 435.9 kB / 482.4 MB, free: 11.89 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.005177/0.4237, allocations: 3.412 MB / 485.8 MB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.4275, allocations: 1.941 MB / 487.7 MB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4275, allocations: 0 / 487.7 MB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.4297, allocations: 1.226 MB / 488.9 MB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.432, allocations: 388.7 kB / 489.3 MB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/0.46, allocations: 16.35 MB / 0.4938 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.4616, allocations: 1.685 MB / 0.4955 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009939/0.4626, allocations: 312 kB / 0.4958 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/0.4636, allocations: 0.7063 MB / 0.4964 GB, free: 1.242 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4636, allocations: 0 / 0.4964 GB, free: 1.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.5651, allocations: 41.15 MB / 0.5366 GB, free: 7.977 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.77/19.33, allocations: 0 / 0.5366 GB, free: 7.977 MB / 462.1 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.438495853006316]