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.001321/0.001321, allocations: 103.2 kB / 21.96 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.001358/0.001358, allocations: 214 kB / 25.26 MB, free: 3.129 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.321/1.321, allocations: 207.7 MB / 236.1 MB, free: 9.789 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: 55.91 kB / 348 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008455/0.2563, allocations: 7.788 MB / 404.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.2612, allocations: 2.723 MB / 407.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.2621, allocations: 47.28 kB / 407.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2634, allocations: 0.5842 MB / 408.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.2651, allocations: 0.753 MB / 409 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.2657, allocations: 327.6 kB / 409.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.2678, allocations: 2.237 MB / 411.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2692, allocations: 0.9998 MB / 412.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.2708, allocations: 1.039 MB / 413.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.2727, allocations: 1.314 MB / 415 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.2731, allocations: 269.8 kB / 415.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.2738, allocations: 356.5 kB / 415.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008362/0.2747, allocations: 0.7705 MB / 416.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2758, allocations: 0.9805 MB / 417.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.2797, allocations: 3.559 MB / 420.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2797, allocations: 4 kB / 420.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2797, allocations: 0 / 420.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.744e-05/0.2797, allocations: 0 / 420.9 MB, free: 9.855 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.005194/0.2849, allocations: 2.461 MB / 423.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.285, allocations: 17.98 kB / 423.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.994e-05/0.285, allocations: 48.06 kB / 423.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000334/0.2854, allocations: 265.8 kB / 423.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.286, allocations: 267.6 kB / 423.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.2882, allocations: 1.166 MB / 425.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2884, allocations: 139.3 kB / 425.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.2886, allocations: 180 kB / 425.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.2927, allocations: 2.475 MB / 427.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.2928, allocations: 0 / 427.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.2929, allocations: 79.98 kB / 428 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.293, allocations: 95.44 kB / 428 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.2964, allocations: 1.962 MB / 430 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.3068, allocations: 6.388 MB / 436.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3085, allocations: 0.9891 MB / 437.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.31, allocations: 0.807 MB / 438.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.3102, allocations: 44.97 kB / 438.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3103, allocations: 43.56 kB / 438.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.3103, allocations: 0 / 438.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01263/0.3229, allocations: 5.543 MB / 443.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3229, allocations: 68.34 kB / 443.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.3247, allocations: 1.215 MB / 445.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.3248, allocations: 45.7 kB / 445.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006965/0.3255, allocations: 0.8831 MB / 446 MB, free: 1.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.3258, allocations: 388.7 kB / 446.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.3262, allocations: 218.9 kB / 446.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3263, allocations: 349.9 kB / 447 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.3274, allocations: 0.6155 MB / 447.6 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3286, allocations: 0.9314 MB / 448.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.331, allocations: 1.632 MB / 450.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.331, allocations: 4 kB / 450.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003791/0.3348, allocations: 2.145 MB / 452.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3348, allocations: 8.25 kB / 452.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3348, allocations: 12 kB / 452.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.336, allocations: 475.9 kB / 452.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/0.3369, allocations: 267.6 kB / 453 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/0.3439, allocations: 6.668 MB / 459.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.345, allocations: 79.86 kB / 459.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3451, allocations: 51.98 kB / 459.8 MB, free: 3.23 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.001072/0.3462, allocations: 0.5949 MB / 460.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.3464, allocations: 143 kB / 460.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.35, allocations: 1.941 MB / 462.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.35, allocations: 11.94 kB / 462.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.35, allocations: 4 kB / 462.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.35, allocations: 3.984 kB / 462.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/0.357, allocations: 3.887 MB / 466.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.357, allocations: 12.08 kB / 466.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.3577, allocations: 175.7 kB / 466.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.3592, allocations: 0.5193 MB / 467.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.3593, allocations: 35.92 kB / 467.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008852/0.3681, allocations: 8.16 MB / 475.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.3681, allocations: 12 kB / 475.3 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004987/0.3731, allocations: 2.863 MB / 478.2 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.3739, allocations: 271 kB / 478.5 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.3741, allocations: 35.92 kB / 478.5 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/0.3749, allocations: 75.92 kB / 478.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.3751, allocations: 96.7 kB / 478.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.3752, allocations: 35.98 kB / 478.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.3765, allocations: 0.8343 MB / 479.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3765, allocations: 0 / 479.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001496/0.378, allocations: 411.9 kB / 479.9 MB, free: 14.42 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.005018/0.383, allocations: 3.513 MB / 483.4 MB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.3863, allocations: 1.94 MB / 485.4 MB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3864, allocations: 4 kB / 485.4 MB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.3885, allocations: 1.35 MB / 486.7 MB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.3903, allocations: 385 kB / 487.1 MB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.4132, allocations: 15.02 MB / 0.4904 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.4145, allocations: 1.062 MB / 0.4914 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009142/0.4154, allocations: 295.8 kB / 0.4917 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009401/0.4163, allocations: 0.6867 MB / 0.4924 GB, free: 5.352 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4163, allocations: 3.938 kB / 0.4924 GB, free: 5.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0848/0.5011, allocations: 40.12 MB / 0.5315 GB, free: 13.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.9, allocations: 8.047 kB / 0.5316 GB, free: 13.09 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: 19.18826796708163]