Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 114.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 183.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001642, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.107, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.2093/0.3163, allocations: 9.341 MB / 384 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005754/0.3221, allocations: 3.032 MB / 387 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.3239, allocations: 40 kB / 387.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.3258, allocations: 0.6395 MB / 387.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.3286, allocations: 0.7669 MB / 388.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3297, allocations: 352 kB / 388.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004037/0.3337, allocations: 2.693 MB / 391.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.3361, allocations: 1.894 MB / 393.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3383, allocations: 1.186 MB / 394.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.3411, allocations: 1.489 MB / 396.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009308/0.3421, allocations: 309.7 kB / 396.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3436, allocations: 399.7 kB / 396.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.3446, allocations: 0.8891 MB / 397.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.3469, allocations: 1.409 MB / 399.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005895/0.3528, allocations: 4.094 MB / 403.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3529, allocations: 0 / 403.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3529, allocations: 5.25 kB / 403.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.3531, allocations: 0 / 403.2 MB, free: 14.84 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008868/0.3619, allocations: 2.913 MB / 406.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.362, allocations: 10.25 kB / 406.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006933/0.3627, allocations: 296.7 kB / 406.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3637, allocations: 298.6 kB / 406.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.3671, allocations: 1.459 MB / 408.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3672, allocations: 162.4 kB / 408.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005937/0.3678, allocations: 207.9 kB / 408.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00585/0.3737, allocations: 2.735 MB / 411.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.3738, allocations: 3 kB / 411.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.374, allocations: 83.38 kB / 411.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.3741, allocations: 91.34 kB / 411.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004872/0.379, allocations: 2.328 MB / 413.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/0.3962, allocations: 8.331 MB / 422.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.3987, allocations: 1.776 MB / 423.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.4009, allocations: 1.073 MB / 424.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.4012, allocations: 118.1 kB / 425 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4013, allocations: 43.56 kB / 425.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.357e-06/0.4013, allocations: 0 / 425.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01491/0.4162, allocations: 6.343 MB / 431.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.4163, allocations: 68.34 kB / 431.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.4189, allocations: 1.52 MB / 433 MB, free: 4.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.419, allocations: 45.7 kB / 433 MB, free: 4.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008842/0.4199, allocations: 1.005 MB / 434 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/0.4204, allocations: 448.3 kB / 434.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/0.4209, allocations: 251.5 kB / 434.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4211, allocations: 361.9 kB / 435.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4224, allocations: 0.7267 MB / 435.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.4239, allocations: 1.059 MB / 436.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.4268, allocations: 1.875 MB / 438.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.4268, allocations: 4 kB / 438.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004796/0.4316, allocations: 2.354 MB / 441.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.4317, allocations: 8 kB / 441.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.4317, allocations: 12 kB / 441.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4328, allocations: 419.7 kB / 441.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4341, allocations: 323.5 kB / 441.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.44, allocations: 5.059 MB / 446.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4415, allocations: 99.8 kB / 447 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.4417, allocations: 56 kB / 447.1 MB, free: 6.215 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: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001448/0.4431, allocations: 0.7043 MB / 447.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.4435, allocations: 170.9 kB / 447.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.4476, allocations: 2.141 MB / 450.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4477, allocations: 8 kB / 450.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4477, allocations: 4 kB / 450.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4477, allocations: 7.969 kB / 450.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00844/0.4561, allocations: 4.573 MB / 454.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4562, allocations: 8.031 kB / 454.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.4572, allocations: 223.7 kB / 454.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.4585, allocations: 466.9 kB / 455.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.4587, allocations: 31.98 kB / 455.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007409/0.4661, allocations: 6.689 MB / 462.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.4661, allocations: 7.969 kB / 462.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005684/0.4718, allocations: 3.193 MB / 465.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.473, allocations: 399.9 kB / 465.7 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.4733, allocations: 35.98 kB / 465.7 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/0.4742, allocations: 67.92 kB / 465.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.4745, allocations: 116.7 kB / 465.9 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/0.4746, allocations: 35.98 kB / 465.9 MB, free: 2.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001773/0.4764, allocations: 1.044 MB / 467 MB, free: 1.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4764, allocations: 0 / 467 MB, free: 1.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00187/0.4783, allocations: 460 kB / 467.4 MB, free: 1.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.006059/0.4843, allocations: 3.828 MB / 471.2 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004075/0.4884, allocations: 2.266 MB / 473.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4885, allocations: 0 / 473.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.491, allocations: 1.503 MB / 475 MB, free: 9.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.4935, allocations: 448.5 kB / 475.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/0.5237, allocations: 17.44 MB / 492.9 MB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.5256, allocations: 1.819 MB / 494.7 MB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001254/0.5268, allocations: 393.5 kB / 495.1 MB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.5281, allocations: 0.8 MB / 495.9 MB, free: 3.926 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5281, allocations: 3.938 kB / 495.9 MB, free: 3.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09597/0.6241, allocations: 43.25 MB / 0.5265 GB, free: 8.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/20.58, allocations: 11.78 kB / 0.5265 GB, free: 8.531 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches