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.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.001891/0.001891, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002416/0.002416, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.44/1.44, allocations: 207.7 MB / 235.3 MB, free: 9.777 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_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"}) [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.00193/0.00193, allocations: 58.86 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2611, allocations: 49.15 MB / 396.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009097/0.2702, allocations: 7.867 MB / 404.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.2755, allocations: 2.754 MB / 407 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.2767, allocations: 51.66 kB / 407 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.2783, allocations: 0.5963 MB / 407.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.2807, allocations: 0.7719 MB / 408.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.2814, allocations: 326.1 kB / 408.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.2845, allocations: 2.388 MB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.2862, allocations: 0.9461 MB / 412.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.288, allocations: 1.095 MB / 413.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.2901, allocations: 1.298 MB / 414.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004231/0.2905, allocations: 280.5 kB / 414.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008941/0.2914, allocations: 368.1 kB / 415.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008254/0.2922, allocations: 0.8147 MB / 415.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.2934, allocations: 1.016 MB / 416.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.298, allocations: 3.717 MB / 420.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.298, allocations: 1.375 kB / 420.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.298, allocations: 0 / 420.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.2982, allocations: 4 kB / 420.6 MB, free: 9.719 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006721/0.3049, allocations: 2.559 MB / 423.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.305, allocations: 13.58 kB / 423.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004212/0.3054, allocations: 266.8 kB / 423.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009602/0.3064, allocations: 268.9 kB / 423.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.309, allocations: 1.25 MB / 425 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3092, allocations: 139.8 kB / 425.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.3094, allocations: 187.9 kB / 425.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/0.3136, allocations: 2.51 MB / 427.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.3137, allocations: 7.953 kB / 427.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.3139, allocations: 75.98 kB / 427.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.314, allocations: 87.48 kB / 428 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.3174, allocations: 2.016 MB / 430 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.329, allocations: 6.664 MB / 436.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.3308, allocations: 0.9913 MB / 437.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.3324, allocations: 0.8495 MB / 438.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.3326, allocations: 48.95 kB / 438.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3327, allocations: 39.56 kB / 438.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.296e-06/0.3327, allocations: 0 / 438.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009603/0.3423, allocations: 4.73 MB / 443.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3423, allocations: 64.41 kB / 443.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.3444, allocations: 1.396 MB / 444.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.3445, allocations: 45.64 kB / 444.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007021/0.3452, allocations: 0.9149 MB / 445.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.3455, allocations: 368.9 kB / 446.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.3458, allocations: 218.9 kB / 446.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.346, allocations: 353.9 kB / 446.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.347, allocations: 0.6388 MB / 447.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.3482, allocations: 0.922 MB / 448.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.3506, allocations: 1.641 MB / 449.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3506, allocations: 4 kB / 449.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004304/0.3549, allocations: 2.379 MB / 452.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.355, allocations: 8 kB / 452.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.355, allocations: 8 kB / 452.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.3567, allocations: 0.712 MB / 453 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.3576, allocations: 235.6 kB / 453.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.3689, allocations: 8.456 MB / 461.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.3703, allocations: 83.91 kB / 461.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3704, allocations: 44 kB / 461.8 MB, free: 0.7773 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.001215/0.3716, allocations: 0.6262 MB / 462.4 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.3719, allocations: 147.1 kB / 462.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.3752, allocations: 1.889 MB / 464.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3752, allocations: 16 kB / 464.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3752, allocations: 0 / 464.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.3752, allocations: 15.91 kB / 464.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/0.3818, allocations: 3.742 MB / 468.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3818, allocations: 4 kB / 468.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.3826, allocations: 179.7 kB / 468.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.3837, allocations: 471 kB / 468.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.3838, allocations: 35.97 kB / 468.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/0.3905, allocations: 6.336 MB / 475.2 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.3905, allocations: 11.92 kB / 475.2 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.3951, allocations: 2.765 MB / 478 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.3961, allocations: 287.1 kB / 478.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.3963, allocations: 24 kB / 478.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.3971, allocations: 63.92 kB / 478.4 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.3973, allocations: 92.77 kB / 478.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.3973, allocations: 27.98 kB / 478.5 MB, free: 15.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001525/0.3989, allocations: 0.9581 MB / 479.4 MB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3989, allocations: 4 kB / 479.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4003, allocations: 432 kB / 479.9 MB, free: 14.16 MB / 398.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.00486/0.4051, allocations: 3.4 MB / 483.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003765/0.4089, allocations: 1.945 MB / 485.2 MB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4089, allocations: 0 / 485.2 MB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.4111, allocations: 1.223 MB / 486.4 MB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.4131, allocations: 388.9 kB / 486.8 MB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/0.4385, allocations: 16.34 MB / 0.4914 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.4398, allocations: 1.11 MB / 0.4924 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009296/0.4408, allocations: 316 kB / 0.4927 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/0.4417, allocations: 0.7023 MB / 0.4934 GB, free: 4.098 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4417, allocations: 0 / 0.4934 GB, free: 4.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09246/0.5341, allocations: 42.85 MB / 0.5353 GB, free: 9.113 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.97, allocations: 11.83 kB / 0.5353 GB, free: 9.102 MB / 462.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.11240561492741]