Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.005034/0.005034, allocations: 114.5 kB / 21.97 MB, free: 5.219 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.001367/0.001367, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.311/1.311, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="cs",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.001651/0.001651, allocations: 51.94 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 49.16 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008227/0.2503, allocations: 8.872 MB / 406 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.2552, allocations: 2.911 MB / 408.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.2563, allocations: 51.94 kB / 409 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.2577, allocations: 0.6443 MB / 409.6 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.2596, allocations: 0.7449 MB / 410.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.2603, allocations: 330.4 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.2628, allocations: 2.243 MB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.2641, allocations: 0.9919 MB / 413.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.2655, allocations: 1.036 MB / 415 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.2672, allocations: 1.322 MB / 416.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.2676, allocations: 269.3 kB / 416.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.2682, allocations: 360.9 kB / 416.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.2689, allocations: 0.7705 MB / 417.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2701, allocations: 1.21 MB / 418.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.2736, allocations: 3.535 MB / 422.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2736, allocations: 0 / 422.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2736, allocations: 0 / 422.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.132e-05/0.2736, allocations: 1.25 kB / 422.4 MB, free: 8.363 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00471/0.2784, allocations: 2.46 MB / 424.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2784, allocations: 14.39 kB / 424.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.06e-05/0.2784, allocations: 47.09 kB / 424.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000324/0.2788, allocations: 266.2 kB / 425.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006455/0.2794, allocations: 275.6 kB / 425.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2814, allocations: 1.161 MB / 426.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.2815, allocations: 140 kB / 426.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.2818, allocations: 183.8 kB / 426.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.2855, allocations: 2.371 MB / 429.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.2855, allocations: 4 kB / 429.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.2857, allocations: 71.98 kB / 429.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.2858, allocations: 99.5 kB / 429.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/0.289, allocations: 1.958 MB / 431.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.2996, allocations: 6.961 MB / 438.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3013, allocations: 0.9874 MB / 439.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.3028, allocations: 0.8031 MB / 440.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.3029, allocations: 40.95 kB / 440.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.303, allocations: 51.5 kB / 440.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.303, allocations: 0 / 440.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.0129/0.3159, allocations: 5.547 MB / 445.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3159, allocations: 68.34 kB / 445.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.3176, allocations: 1.211 MB / 447.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.3177, allocations: 45.7 kB / 447.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.3184, allocations: 0.887 MB / 448 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.3187, allocations: 392.7 kB / 448.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.319, allocations: 218.9 kB / 448.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3192, allocations: 353.9 kB / 449 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.3202, allocations: 0.6116 MB / 449.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.3215, allocations: 0.9236 MB / 450.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.3238, allocations: 1.64 MB / 452.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3238, allocations: 4 kB / 452.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003726/0.3276, allocations: 2.137 MB / 454.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3276, allocations: 12 kB / 454.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3276, allocations: 8 kB / 454.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.3287, allocations: 480.1 kB / 454.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3297, allocations: 275.5 kB / 455.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.3367, allocations: 6.7 MB / 461.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.338, allocations: 87.89 kB / 461.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.3382, allocations: 48.16 kB / 461.9 MB, free: 1.418 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.3395, allocations: 0.599 MB / 462.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.3399, allocations: 147 kB / 462.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.3434, allocations: 1.941 MB / 464.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3434, allocations: 16 kB / 464.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3435, allocations: 4 kB / 464.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.3435, allocations: 3.984 kB / 464.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.3507, allocations: 4.097 MB / 468.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.3507, allocations: 4 kB / 468.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.3515, allocations: 176.3 kB / 468.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.3528, allocations: 0.5192 MB / 469.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.3529, allocations: 39.92 kB / 469.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0083/0.3612, allocations: 8.206 MB / 477.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.3612, allocations: 11.88 kB / 477.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.366, allocations: 2.875 MB / 480.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/0.3668, allocations: 267 kB / 480.8 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.367, allocations: 35.92 kB / 480.8 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/0.3677, allocations: 71.92 kB / 480.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.368, allocations: 100.7 kB / 481 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.368, allocations: 35.98 kB / 481 MB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.3692, allocations: 0.8343 MB / 481.9 MB, free: 12.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3692, allocations: 3.938 kB / 481.9 MB, free: 12.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001437/0.3707, allocations: 411.9 kB / 482.3 MB, free: 12.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,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.005054/0.3757, allocations: 3.49 MB / 485.7 MB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003392/0.3791, allocations: 1.94 MB / 487.7 MB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3791, allocations: 0.625 kB / 487.7 MB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.3813, allocations: 1.357 MB / 489 MB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.3832, allocations: 380.6 kB / 489.4 MB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/0.4068, allocations: 15.04 MB / 0.4926 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.4084, allocations: 1.626 MB / 0.4942 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009064/0.4093, allocations: 303.8 kB / 0.4945 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/0.4103, allocations: 0.6867 MB / 0.4952 GB, free: 2.707 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4103, allocations: 4 kB / 0.4952 GB, free: 2.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08791/0.4982, allocations: 38.65 MB / 0.5329 GB, free: 11.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.61, allocations: 3.938 kB / 0.5329 GB, free: 11.94 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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: 18.845567236014176]