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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.00155, allocations: 110.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.001568/0.001568, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.407/1.407, 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.00176/0.00176, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.0933, 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_Initialize): time 0.1868/0.2801, allocations: 8.861 MB / 383.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.286, allocations: 2.916 MB / 386.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.2877, allocations: 34.94 kB / 386.5 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.29, allocations: 0.6124 MB / 387.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.2929, allocations: 0.7185 MB / 387.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2941, allocations: 328.8 kB / 388.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004889/0.299, allocations: 2.397 MB / 390.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.302, allocations: 1.713 MB / 392.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.3048, allocations: 1.058 MB / 393.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.3081, allocations: 1.338 MB / 394.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009718/0.3091, allocations: 278.8 kB / 394.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.3105, allocations: 371.5 kB / 395.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008798/0.3114, allocations: 0.8061 MB / 396.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.313, allocations: 1.257 MB / 397.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.3168, allocations: 3.695 MB / 401 MB, free: 324 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3169, allocations: 0 / 401 MB, free: 324 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3169, allocations: 0 / 401 MB, free: 324 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.966e-05/0.3169, allocations: 0 / 401 MB, free: 324 kB / 318.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.005162/0.3221, allocations: 2.631 MB / 403.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3222, allocations: 10.5 kB / 403.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00038/0.3225, allocations: 270.2 kB / 403.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/0.3233, allocations: 272.5 kB / 404.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.3255, allocations: 1.316 MB / 405.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3256, allocations: 136.7 kB / 405.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.3259, allocations: 190 kB / 405.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.33, allocations: 2.407 MB / 408.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.33, allocations: 6.109 kB / 408.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.3302, allocations: 71.69 kB / 408.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.3303, allocations: 88.36 kB / 408.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.3341, allocations: 2.026 MB / 410.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.3502, allocations: 7.378 MB / 417.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.3533, allocations: 1.283 MB / 419.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.3559, allocations: 0.9081 MB / 420 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/0.3563, allocations: 122.1 kB / 420.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.3564, allocations: 39.56 kB / 420.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 4.508e-06/0.3564, allocations: 0 / 420.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01631/0.3727, allocations: 5.044 MB / 425.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.3728, allocations: 64.39 kB / 425.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/0.3769, allocations: 1.373 MB / 426.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.3772, allocations: 45.7 kB / 426.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.3784, allocations: 0.9188 MB / 427.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006122/0.3791, allocations: 372.8 kB / 428 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/0.3798, allocations: 214.9 kB / 428.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.3801, allocations: 349.9 kB / 428.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.3818, allocations: 0.635 MB / 429.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.384, allocations: 0.9181 MB / 430.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.3878, allocations: 1.656 MB / 431.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.3878, allocations: 4 kB / 431.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006429/0.3943, allocations: 2.387 MB / 434.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.3943, allocations: 11.98 kB / 434.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.3944, allocations: 8.25 kB / 434.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.3963, allocations: 0.7158 MB / 434.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.3973, allocations: 239.6 kB / 435.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.4094, allocations: 8.745 MB / 443.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.4111, allocations: 92.12 kB / 443.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.4113, allocations: 51.98 kB / 444 MB, free: 9.547 MB / 366.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.001595/0.4129, allocations: 0.6223 MB / 444.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.4135, allocations: 151 kB / 444.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.4174, allocations: 1.901 MB / 446.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.4174, allocations: 12 kB / 446.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4174, allocations: 4 kB / 446.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4175, allocations: 3.984 kB / 446.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007981/0.4255, allocations: 4.012 MB / 450.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.4255, allocations: 0 / 450.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/0.4264, allocations: 183.8 kB / 450.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.4277, allocations: 463 kB / 451.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4279, allocations: 27.98 kB / 451.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007156/0.435, allocations: 6.689 MB / 458 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.4351, allocations: 7.922 kB / 458 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004882/0.44, allocations: 2.788 MB / 460.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/0.4408, allocations: 364 kB / 461.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.4411, allocations: 24 kB / 461.2 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.4418, allocations: 71.91 kB / 461.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.4421, allocations: 80.83 kB / 461.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.4422, allocations: 31.98 kB / 461.4 MB, free: 7.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.4436, allocations: 0.9543 MB / 462.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4437, allocations: 0 / 462.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001457/0.4451, allocations: 431.9 kB / 462.7 MB, free: 6.137 MB / 382.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.00504/0.4502, allocations: 3.412 MB / 466.2 MB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003687/0.4539, allocations: 2.004 MB / 468.2 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.4539, allocations: 4.5 kB / 468.2 MB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.4561, allocations: 1.355 MB / 469.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.4584, allocations: 385.9 kB / 469.9 MB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02972/0.4881, allocations: 16.37 MB / 486.3 MB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.4899, allocations: 1.685 MB / 488 MB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.4911, allocations: 312 kB / 488.3 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.4921, allocations: 0.6984 MB / 489 MB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4921, allocations: 4 kB / 489 MB, free: 11.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09775/0.5899, allocations: 39.87 MB / 0.5164 GB, free: 3.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/17.43, allocations: 12.2 kB / 0.5164 GB, free: 3.258 MB / 446.1 MB (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) 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) Reference file matches