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.001182/0.001182, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001106/0.001106, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.355/1.355, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001164/0.001165, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08509, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.1731/0.2583, allocations: 8.874 MB / 383.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.2633, allocations: 2.909 MB / 386.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.2647, allocations: 39.62 kB / 386.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.2665, allocations: 0.6472 MB / 387.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.2687, allocations: 0.7518 MB / 387.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.2695, allocations: 332.6 kB / 388.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002713/0.2722, allocations: 2.391 MB / 390.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.274, allocations: 1.712 MB / 392.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.2757, allocations: 1.067 MB / 393.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.2777, allocations: 1.343 MB / 394.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.2782, allocations: 278.9 kB / 395 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008962/0.2791, allocations: 372.2 kB / 395.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.2798, allocations: 0.7997 MB / 396.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.2812, allocations: 1.261 MB / 397.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.2851, allocations: 3.692 MB / 401.1 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2851, allocations: 0 / 401.1 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2851, allocations: 0 / 401.1 MB, free: 276 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.568e-05/0.2852, allocations: 0 / 401.1 MB, free: 276 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.005174/0.2904, allocations: 2.627 MB / 403.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2904, allocations: 8.812 kB / 403.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003415/0.2908, allocations: 271.2 kB / 404 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.2915, allocations: 272.3 kB / 404.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.2938, allocations: 1.323 MB / 405.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.2939, allocations: 137 kB / 405.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.2942, allocations: 186 kB / 405.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.298, allocations: 2.407 MB / 408.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.2981, allocations: 6.297 kB / 408.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.2982, allocations: 76.05 kB / 408.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-05/0.2983, allocations: 88.23 kB / 408.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.3016, allocations: 2.016 MB / 410.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.313, allocations: 7.393 MB / 417.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.3148, allocations: 1.281 MB / 419.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.3164, allocations: 0.9042 MB / 420.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.3167, allocations: 122.1 kB / 420.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3167, allocations: 39.56 kB / 420.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 2.374e-06/0.3167, allocations: 0 / 420.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.009242/0.326, allocations: 5.044 MB / 425.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.326, allocations: 64.41 kB / 425.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.3279, allocations: 1.373 MB / 426.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.144e-05/0.328, allocations: 45.7 kB / 426.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/0.3287, allocations: 0.9149 MB / 427.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.329, allocations: 372.8 kB / 428 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.3293, allocations: 214.9 kB / 428.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3294, allocations: 353.9 kB / 428.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009713/0.3304, allocations: 0.6311 MB / 429.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3315, allocations: 0.922 MB / 430.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.3337, allocations: 1.653 MB / 431.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3337, allocations: 8 kB / 431.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004103/0.3378, allocations: 2.396 MB / 434.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3379, allocations: 8 kB / 434.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3379, allocations: 12.25 kB / 434.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.3396, allocations: 0.708 MB / 434.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.3405, allocations: 235.6 kB / 435.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.3506, allocations: 8.753 MB / 443.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.352, allocations: 88 kB / 444 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.3521, allocations: 44 kB / 444 MB, free: 9.484 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.001142/0.3533, allocations: 0.6301 MB / 444.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.3536, allocations: 155 kB / 444.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.3566, allocations: 1.893 MB / 446.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.3566, allocations: 16 kB / 446.7 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3567, allocations: 4 kB / 446.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.3567, allocations: 4.109 kB / 446.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006401/0.3631, allocations: 4.004 MB / 450.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.3631, allocations: 4 kB / 450.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.3639, allocations: 183.7 kB / 450.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.3651, allocations: 463.1 kB / 451.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.3652, allocations: 31.97 kB / 451.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.371, allocations: 6.685 MB / 458.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3711, allocations: 7.969 kB / 458.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.3752, allocations: 2.788 MB / 460.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/0.3761, allocations: 364 kB / 461.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.3763, allocations: 24 kB / 461.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.3771, allocations: 63.92 kB / 461.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.3773, allocations: 88.8 kB / 461.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.3773, allocations: 31.98 kB / 461.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.3787, allocations: 0.9543 MB / 462.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3787, allocations: 0 / 462.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001395/0.3801, allocations: 439.9 kB / 462.8 MB, free: 6.062 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.004416/0.3845, allocations: 3.401 MB / 466.2 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003296/0.3878, allocations: 2.016 MB / 468.2 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3878, allocations: 0.625 kB / 468.2 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.3897, allocations: 1.351 MB / 469.6 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.3917, allocations: 384.5 kB / 470 MB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/0.4154, allocations: 16.38 MB / 486.4 MB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.4169, allocations: 1.693 MB / 488 MB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.418, allocations: 312 kB / 488.3 MB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/0.419, allocations: 0.7029 MB / 489.1 MB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.683e-06/0.419, allocations: 0 / 489.1 MB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.5416, allocations: 39.85 MB / 0.5165 GB, free: 3.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/17.95, allocations: 16.08 kB / 0.5165 GB, free: 3.18 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