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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 108.5 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 51.94 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2882, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.009376/0.2976, allocations: 9.436 MB / 405.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.304, allocations: 3.042 MB / 408.8 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.306, allocations: 53.03 kB / 408.9 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.308, allocations: 0.6828 MB / 409.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.311, allocations: 0.812 MB / 410.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.312, allocations: 365.9 kB / 410.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003824/0.3158, allocations: 2.687 MB / 413.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.3175, allocations: 1.097 MB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.3196, allocations: 1.222 MB / 415.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.3219, allocations: 1.528 MB / 417.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.3223, allocations: 308.1 kB / 417.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008226/0.3231, allocations: 408.4 kB / 418 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009244/0.3241, allocations: 0.8964 MB / 418.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.3256, allocations: 1.411 MB / 420.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.3301, allocations: 4.097 MB / 424.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3301, allocations: 0 / 424.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3301, allocations: 1.344 kB / 424.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.45e-05/0.3302, allocations: 0 / 424.4 MB, free: 6.48 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.006324/0.3365, allocations: 2.841 MB / 427.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3366, allocations: 15.92 kB / 427.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004108/0.337, allocations: 303.5 kB / 427.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007989/0.3378, allocations: 303.2 kB / 427.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.3407, allocations: 1.39 MB / 429.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.3408, allocations: 152.4 kB / 429.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.3412, allocations: 207.9 kB / 429.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004553/0.3457, allocations: 2.732 MB / 432.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.3458, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.346, allocations: 88 kB / 432.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.3461, allocations: 99.86 kB / 432.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.3501, allocations: 2.315 MB / 434.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.3636, allocations: 8.208 MB / 443 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.3656, allocations: 1.243 MB / 444.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.3676, allocations: 1.008 MB / 445.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.3678, allocations: 48.89 kB / 445.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3678, allocations: 47.56 kB / 445.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.765e-06/0.3678, allocations: 0 / 445.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01343/0.3812, allocations: 5.955 MB / 451.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.3813, allocations: 68.34 kB / 451.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.3836, allocations: 1.524 MB / 452.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3837, allocations: 45.7 kB / 452.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.3845, allocations: 1.005 MB / 454 MB, free: 9.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.3849, allocations: 432.3 kB / 454.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.3853, allocations: 255.5 kB / 454.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3855, allocations: 361.9 kB / 455 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3867, allocations: 0.7378 MB / 455.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3881, allocations: 1.052 MB / 456.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.3908, allocations: 1.875 MB / 458.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3908, allocations: 3.984 kB / 458.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00413/0.395, allocations: 2.346 MB / 461 MB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.395, allocations: 12 kB / 461 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.395, allocations: 8 kB / 461 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.396, allocations: 419.4 kB / 461.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3972, allocations: 319.5 kB / 461.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/0.4028, allocations: 4.86 MB / 466.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.4042, allocations: 95.8 kB / 466.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4043, allocations: 60.05 kB / 466.7 MB, free: 11.77 MB / 382.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.00137/0.4057, allocations: 0.7081 MB / 467.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.4061, allocations: 170.9 kB / 467.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.41, allocations: 2.125 MB / 469.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.41, allocations: 12 kB / 469.8 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.41, allocations: 11.94 kB / 469.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.41, allocations: 7.969 kB / 469.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/0.4184, allocations: 4.518 MB / 474.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4184, allocations: 4 kB / 474.3 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.4195, allocations: 223.7 kB / 474.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.4207, allocations: 483.1 kB / 475 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.4208, allocations: 31.98 kB / 475 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007094/0.4279, allocations: 6.379 MB / 481.4 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.4279, allocations: 7.938 kB / 481.4 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/0.4336, allocations: 3.177 MB / 484.6 MB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.4347, allocations: 330.8 kB / 484.9 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.4349, allocations: 31.98 kB / 484.9 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/0.4358, allocations: 75.92 kB / 485 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.436, allocations: 112.7 kB / 485.1 MB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.4361, allocations: 39.92 kB / 485.2 MB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001698/0.4378, allocations: 1.048 MB / 486.2 MB, free: 7.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4378, allocations: 0 / 486.2 MB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001586/0.4394, allocations: 463.9 kB / 486.7 MB, free: 7.301 MB / 398.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.00596/0.4454, allocations: 3.815 MB / 490.5 MB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.4492, allocations: 2.045 MB / 492.5 MB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4492, allocations: 0 / 492.5 MB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.4517, allocations: 1.37 MB / 493.9 MB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.454, allocations: 441.2 kB / 494.3 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/0.4835, allocations: 17.46 MB / 0.4998 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.4853, allocations: 1.819 MB / 0.5016 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.4865, allocations: 393.5 kB / 0.5019 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.4877, allocations: 0.7961 MB / 0.5027 GB, free: 10.42 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4877, allocations: 3.938 kB / 0.5027 GB, free: 10.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.593, allocations: 44.65 MB / 0.5463 GB, free: 13.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/22.69, allocations: 4.062 kB / 0.5463 GB, free: 13.64 MB / 478.1 MB " [Timeout remaining time 637] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.881629249997786]