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.0017/0.0017, allocations: 100.4 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.001919/0.001919, allocations: 196 kB / 18.51 MB, free: 4.504 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.463/1.463, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001757/0.001757, allocations: 51.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.0929, allocations: 46.64 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01168/0.1046, allocations: 8.863 MB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005838/0.1105, allocations: 2.907 MB / 339.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.1117, allocations: 39.81 kB / 339.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.1134, allocations: 0.6016 MB / 339.8 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.1156, allocations: 0.73 MB / 340.5 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1163, allocations: 323.6 kB / 340.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.119, allocations: 2.393 MB / 343.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.1213, allocations: 1.714 MB / 345 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.1233, allocations: 1.055 MB / 346 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.1252, allocations: 1.347 MB / 347.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003917/0.1256, allocations: 280 kB / 347.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.1263, allocations: 367.8 kB / 348 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009275/0.1273, allocations: 0.8025 MB / 348.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.1291, allocations: 1.256 MB / 350 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.1337, allocations: 3.641 MB / 353.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1337, allocations: 0 / 353.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1338, allocations: 0 / 353.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.293e-05/0.1338, allocations: 0 / 353.7 MB, free: 9.906 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.006034/0.1399, allocations: 2.571 MB / 356.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1399, allocations: 15.97 kB / 356.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003993/0.1404, allocations: 277.9 kB / 356.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.1411, allocations: 258.1 kB / 356.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.1434, allocations: 1.299 MB / 358.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1435, allocations: 135.9 kB / 358.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.1438, allocations: 191.8 kB / 358.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.1479, allocations: 2.402 MB / 360.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.148, allocations: 7.984 kB / 360.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.1482, allocations: 76 kB / 360.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.1483, allocations: 79.5 kB / 361 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.1519, allocations: 2.016 MB / 363 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.1639, allocations: 7.456 MB / 370.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.1659, allocations: 1.272 MB / 371.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.1677, allocations: 0.9042 MB / 372.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.168, allocations: 126 kB / 372.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.168, allocations: 47.56 kB / 372.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/0.168, allocations: 0 / 372.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009829/0.1779, allocations: 5.005 MB / 377.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1779, allocations: 60.41 kB / 377.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1313/0.3092, allocations: 1.373 MB / 379.2 MB, free: 51.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.3094, allocations: 43.2 kB / 379.3 MB, free: 51.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.31, allocations: 0.8951 MB / 380.2 MB, free: 51.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.3102, allocations: 356.3 kB / 380.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.3106, allocations: 215.1 kB / 380.7 MB, free: 51.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3107, allocations: 358 kB / 381.1 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/0.3117, allocations: 0.6323 MB / 381.7 MB, free: 50.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.3129, allocations: 0.9237 MB / 382.6 MB, free: 50.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.3151, allocations: 1.644 MB / 384.3 MB, free: 49.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.3151, allocations: 2.875 kB / 384.3 MB, free: 49.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004472/0.3196, allocations: 2.39 MB / 386.7 MB, free: 48.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3196, allocations: 12.78 kB / 386.7 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.3197, allocations: 8.562 kB / 386.7 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.3216, allocations: 0.7122 MB / 387.4 MB, free: 48.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.3226, allocations: 239.7 kB / 387.6 MB, free: 48.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009319/0.3319, allocations: 8.751 MB / 396.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3331, allocations: 79.67 kB / 396.5 MB, free: 43.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.3332, allocations: 54.25 kB / 396.5 MB, free: 43.02 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.000867/0.3341, allocations: 0.6214 MB / 397.1 MB, free: 42.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.3343, allocations: 146.1 kB / 397.3 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.337, allocations: 1.893 MB / 399.2 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.337, allocations: 7.906 kB / 399.2 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.337, allocations: 5.016 kB / 399.2 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.337, allocations: 7.797 kB / 399.2 MB, free: 41.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/0.3424, allocations: 4.018 MB / 403.2 MB, free: 39.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.3424, allocations: 3.938 kB / 403.2 MB, free: 39.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.3432, allocations: 181.7 kB / 403.4 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.3443, allocations: 464.8 kB / 403.8 MB, free: 39.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.324e-05/0.3444, allocations: 39.56 kB / 403.9 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.3489, allocations: 6.689 MB / 410.6 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.349, allocations: 4.031 kB / 410.6 MB, free: 31.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.3525, allocations: 2.778 MB / 413.4 MB, free: 29.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.3532, allocations: 359.3 kB / 413.7 MB, free: 28.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.3534, allocations: 23.94 kB / 413.7 MB, free: 28.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008284/0.3543, allocations: 70.67 kB / 413.8 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.3545, allocations: 84.81 kB / 413.9 MB, free: 28.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.3546, allocations: 31.98 kB / 413.9 MB, free: 28.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.3557, allocations: 0.9504 MB / 414.9 MB, free: 27.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3557, allocations: 0 / 414.9 MB, free: 27.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001454/0.3572, allocations: 436 kB / 415.3 MB, free: 27.11 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.00389/0.3611, allocations: 3.404 MB / 418.7 MB, free: 23.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.3649, allocations: 2.37 MB / 421.1 MB, free: 21.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.3649, allocations: 5.812 kB / 421.1 MB, free: 21.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.3666, allocations: 1.339 MB / 422.4 MB, free: 19.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.3687, allocations: 389.5 kB / 422.8 MB, free: 19.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/0.3892, allocations: 17.67 MB / 440.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.3905, allocations: 1.693 MB / 442.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.3917, allocations: 314.4 kB / 442.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.3928, allocations: 0.6984 MB / 443.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3929, allocations: 0 / 443.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/0.5321, allocations: 39.13 MB / 482.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.3, allocations: 8.328 kB / 482.3 MB, free: 6.957 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