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.001619/0.001619, allocations: 98.88 kB / 17.58 MB, free: 5.418 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.002006/0.002006, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.449/1.449, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001394/0.001394, allocations: 48.2 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09854, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.0115/0.1101, allocations: 8.859 MB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006617/0.1167, allocations: 2.907 MB / 339.2 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.1184, allocations: 39.81 kB / 339.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.1211, allocations: 0.6016 MB / 339.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.124, allocations: 0.73 MB / 340.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1251, allocations: 323.6 kB / 340.8 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.1285, allocations: 2.401 MB / 343.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.1313, allocations: 1.714 MB / 345 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.133, allocations: 1.051 MB / 346 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.1355, allocations: 1.347 MB / 347.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008598/0.1364, allocations: 280 kB / 347.6 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.138, allocations: 367.8 kB / 348 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.1393, allocations: 0.7947 MB / 348.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.1417, allocations: 1.264 MB / 350 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.1461, allocations: 3.641 MB / 353.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1462, allocations: 0 / 353.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1462, allocations: 0 / 353.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001405/0.1463, allocations: 3.938 kB / 353.7 MB, free: 9.918 MB / 302.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.00708/0.1534, allocations: 2.579 MB / 356.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1534, allocations: 8.031 kB / 356.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004594/0.1539, allocations: 266 kB / 356.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008128/0.1547, allocations: 266.1 kB / 356.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.1569, allocations: 1.299 MB / 358.1 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.157, allocations: 140 kB / 358.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.1573, allocations: 187.8 kB / 358.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.161, allocations: 2.402 MB / 360.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.1611, allocations: 7.938 kB / 360.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.1612, allocations: 72 kB / 360.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/0.1613, allocations: 83.5 kB / 361 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/0.1647, allocations: 2.016 MB / 363 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.1767, allocations: 7.456 MB / 370.4 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.1786, allocations: 1.276 MB / 371.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.1802, allocations: 0.908 MB / 372.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.1805, allocations: 118.1 kB / 372.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1805, allocations: 43.56 kB / 372.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.875e-06/0.1805, allocations: 0 / 372.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009625/0.1902, allocations: 5.005 MB / 377.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1902, allocations: 68.41 kB / 377.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1639/0.3541, allocations: 1.371 MB / 379.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.3544, allocations: 42.86 kB / 379.3 MB, free: 51.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/0.3552, allocations: 0.8976 MB / 380.2 MB, free: 51.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.3556, allocations: 349.3 kB / 380.5 MB, free: 51.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.356, allocations: 220.9 kB / 380.7 MB, free: 51.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.3561, allocations: 348 kB / 381.1 MB, free: 51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3572, allocations: 0.6338 MB / 381.7 MB, free: 50.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.3585, allocations: 0.9225 MB / 382.6 MB, free: 50.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.3606, allocations: 1.649 MB / 384.3 MB, free: 49.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.3606, allocations: 3.938 kB / 384.3 MB, free: 49.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004328/0.3649, allocations: 2.387 MB / 386.7 MB, free: 48.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.365, allocations: 8.312 kB / 386.7 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.365, allocations: 14.3 kB / 386.7 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.3668, allocations: 0.7153 MB / 387.4 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.3677, allocations: 238.6 kB / 387.6 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009449/0.3772, allocations: 8.749 MB / 396.4 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.3785, allocations: 77.58 kB / 396.5 MB, free: 43.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3786, allocations: 51.88 kB / 396.5 MB, free: 43.05 MB / 318.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.001036/0.3796, allocations: 0.6255 MB / 397.1 MB, free: 42.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.38, allocations: 144.3 kB / 397.3 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.3827, allocations: 1.898 MB / 399.2 MB, free: 41.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3827, allocations: 16.88 kB / 399.2 MB, free: 41.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3827, allocations: 3.719 kB / 399.2 MB, free: 41.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3827, allocations: 7.891 kB / 399.2 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.3882, allocations: 4.011 MB / 403.2 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3882, allocations: 3.812 kB / 403.2 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.3889, allocations: 178.8 kB / 403.4 MB, free: 39.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.39, allocations: 469.1 kB / 403.8 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.3901, allocations: 34.42 kB / 403.9 MB, free: 38.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.3947, allocations: 6.689 MB / 410.6 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3947, allocations: 4.031 kB / 410.6 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.3981, allocations: 2.78 MB / 413.4 MB, free: 29.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/0.3987, allocations: 355.3 kB / 413.7 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/0.3991, allocations: 27.88 kB / 413.7 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.3999, allocations: 75.84 kB / 413.8 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.4001, allocations: 80.83 kB / 413.9 MB, free: 28.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.4002, allocations: 27.98 kB / 413.9 MB, free: 28.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.4015, allocations: 0.9543 MB / 414.9 MB, free: 27.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4015, allocations: 0 / 414.9 MB, free: 27.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001494/0.403, allocations: 436 kB / 415.3 MB, free: 27.12 MB / 318.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.003798/0.4068, allocations: 3.407 MB / 418.7 MB, free: 23.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003678/0.4105, allocations: 2.367 MB / 421.1 MB, free: 21.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4105, allocations: 5.875 kB / 421.1 MB, free: 21.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.4122, allocations: 1.335 MB / 422.4 MB, free: 19.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.4142, allocations: 386.2 kB / 422.8 MB, free: 19.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/0.4367, allocations: 17.68 MB / 440.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.4382, allocations: 1.685 MB / 442.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009664/0.4392, allocations: 320 kB / 442.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/0.4402, allocations: 0.6984 MB / 443.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4402, allocations: 0 / 443.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/0.5214, allocations: 39.13 MB / 482.3 MB, free: 6.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.62, allocations: 8.328 kB / 482.3 MB, free: 6.969 MB / 366.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