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.001433/0.001433, allocations: 113.2 kB / 17.73 MB, free: 5.312 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.001602/0.001602, allocations: 188.2 kB / 18.66 MB, free: 4.387 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.464/1.464, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001269/0.001269, allocations: 63.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07391, allocations: 46.61 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.1877/0.2616, allocations: 9.336 MB / 384 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006133/0.2678, allocations: 3.032 MB / 387 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.2698, allocations: 41.44 kB / 387.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.2718, allocations: 0.6703 MB / 387.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.2749, allocations: 0.8014 MB / 388.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009762/0.2758, allocations: 361.2 kB / 388.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.2793, allocations: 2.694 MB / 391.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.2816, allocations: 1.893 MB / 393.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.284, allocations: 1.191 MB / 394.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.2868, allocations: 1.493 MB / 396.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007083/0.2875, allocations: 308.7 kB / 396.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.2887, allocations: 399.8 kB / 396.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.2898, allocations: 0.8861 MB / 397.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.2921, allocations: 1.408 MB / 399.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.2982, allocations: 4.099 MB / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2983, allocations: 2.406 kB / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2983, allocations: 0 / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001514/0.2984, allocations: 0 / 403.2 MB, free: 14.79 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.008207/0.3066, allocations: 2.914 MB / 406.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.3067, allocations: 9.281 kB / 406.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005598/0.3073, allocations: 301.9 kB / 406.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.3084, allocations: 301.6 kB / 406.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.3116, allocations: 1.463 MB / 408.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3118, allocations: 153.7 kB / 408.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.3121, allocations: 208.8 kB / 408.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/0.3175, allocations: 2.729 MB / 411.3 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.041e-05/0.3176, allocations: 7.625 kB / 411.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.3178, allocations: 80.66 kB / 411.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.3179, allocations: 97.2 kB / 411.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.3222, allocations: 2.32 MB / 413.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.3356, allocations: 8.335 MB / 422.1 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.3379, allocations: 1.779 MB / 423.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.3398, allocations: 1.069 MB / 425 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.3401, allocations: 130.9 kB / 425.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3401, allocations: 43.56 kB / 425.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.896e-06/0.3401, allocations: 0 / 425.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01381/0.354, allocations: 6.336 MB / 431.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.354, allocations: 60.41 kB / 431.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.3563, allocations: 1.524 MB / 433.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.3564, allocations: 45.7 kB / 433.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007112/0.3571, allocations: 1.009 MB / 434.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.3575, allocations: 436.3 kB / 434.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004129/0.3579, allocations: 255.5 kB / 434.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.358, allocations: 361.9 kB / 435.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3592, allocations: 0.7339 MB / 435.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3606, allocations: 1.059 MB / 437 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.3632, allocations: 1.875 MB / 438.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3632, allocations: 4 kB / 438.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004053/0.3673, allocations: 2.354 MB / 441.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3673, allocations: 8 kB / 441.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3673, allocations: 12.34 kB / 441.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/0.3683, allocations: 407.8 kB / 441.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.3695, allocations: 335.5 kB / 441.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.375, allocations: 5.056 MB / 447 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.3764, allocations: 103.9 kB / 447.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.3766, allocations: 48 kB / 447.1 MB, free: 6.156 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.001382/0.378, allocations: 0.7081 MB / 447.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.3784, allocations: 170.9 kB / 448 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.3827, allocations: 2.149 MB / 450.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.3827, allocations: 12 kB / 450.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/0.3828, allocations: 0 / 450.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3828, allocations: 3.984 kB / 450.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009477/0.3923, allocations: 4.573 MB / 454.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.3923, allocations: 4 kB / 454.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/0.3933, allocations: 231.9 kB / 455 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.3946, allocations: 462.9 kB / 455.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.3948, allocations: 35.98 kB / 455.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/0.4014, allocations: 6.682 MB / 462.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.4015, allocations: 4.031 kB / 462.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.4068, allocations: 3.197 MB / 465.3 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.408, allocations: 407.9 kB / 465.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000501/0.4085, allocations: 31.98 kB / 465.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.4096, allocations: 71.92 kB / 465.8 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.4099, allocations: 112.7 kB / 466 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.41, allocations: 39.98 kB / 466 MB, free: 2.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002116/0.4121, allocations: 1.044 MB / 467 MB, free: 1.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4121, allocations: 0 / 467 MB, free: 1.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002477/0.4146, allocations: 460 kB / 467.5 MB, free: 1.148 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.006105/0.4207, allocations: 3.823 MB / 471.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.4246, allocations: 2.265 MB / 473.6 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4247, allocations: 0 / 473.6 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.4271, allocations: 1.493 MB / 475.1 MB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.4301, allocations: 455 kB / 475.5 MB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/0.4628, allocations: 17.45 MB / 493 MB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.4645, allocations: 1.822 MB / 494.8 MB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.4656, allocations: 393.5 kB / 495.2 MB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.4667, allocations: 0.7961 MB / 496 MB, free: 3.855 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4667, allocations: 0 / 496 MB, free: 3.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/0.7709, allocations: 43.24 MB / 0.5266 GB, free: 8.488 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.74/20.51, allocations: 15.69 kB / 0.5266 GB, free: 8.473 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