Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 189.3 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.7 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 43.94 kB / 370.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01133/0.2584, allocations: 8.996 MB / 431.6 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.2644, allocations: 2.879 MB / 434.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.2655, allocations: 55.62 kB / 434.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.2672, allocations: 0.644 MB / 435.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.2701, allocations: 0.7768 MB / 436 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.271, allocations: 323.5 kB / 436.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003268/0.2742, allocations: 2.366 MB / 438.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.276, allocations: 1.017 MB / 439.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.278, allocations: 1.086 MB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.2803, allocations: 1.382 MB / 442.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004418/0.2807, allocations: 280 kB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.2816, allocations: 371.8 kB / 442.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00083/0.2824, allocations: 0.818 MB / 443.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.2838, allocations: 1.252 MB / 444.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004229/0.288, allocations: 3.69 MB / 448.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.288, allocations: 0 / 448.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.288, allocations: 0 / 448.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.762e-05/0.288, allocations: 0 / 448.5 MB, free: 4.57 MB / 350.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.005049/0.2931, allocations: 2.571 MB / 451.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2931, allocations: 15.97 kB / 451.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003659/0.2935, allocations: 266 kB / 451.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/0.2942, allocations: 267.4 kB / 451.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.2968, allocations: 1.329 MB / 453 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.2969, allocations: 132 kB / 453.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.2972, allocations: 195.7 kB / 453.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.3012, allocations: 2.41 MB / 455.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.3012, allocations: 4 kB / 455.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.3014, allocations: 75.98 kB / 455.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.3015, allocations: 83.5 kB / 455.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.3049, allocations: 2.024 MB / 457.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.3169, allocations: 7.249 MB / 465.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.3187, allocations: 0.9853 MB / 466.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.3204, allocations: 0.8651 MB / 467 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.3206, allocations: 48.97 kB / 467 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3206, allocations: 39.56 kB / 467.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.395e-06/0.3206, allocations: 4 kB / 467.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009263/0.3299, allocations: 4.689 MB / 471.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3299, allocations: 64.34 kB / 471.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.332, allocations: 1.376 MB / 473.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-05/0.3321, allocations: 49.7 kB / 473.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/0.3328, allocations: 0.9187 MB / 474.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.3331, allocations: 368.9 kB / 474.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.3335, allocations: 214.9 kB / 474.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3337, allocations: 357.9 kB / 475.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.3347, allocations: 0.6272 MB / 475.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3359, allocations: 0.9259 MB / 476.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/0.3383, allocations: 1.641 MB / 478.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3383, allocations: 8 kB / 478.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004347/0.3426, allocations: 2.383 MB / 480.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3427, allocations: 8.25 kB / 480.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3427, allocations: 12 kB / 480.7 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.3445, allocations: 0.7118 MB / 481.4 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.3455, allocations: 235.7 kB / 481.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.3569, allocations: 8.523 MB / 490.2 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3581, allocations: 87.86 kB / 490.3 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3582, allocations: 44 kB / 490.3 MB, free: 9.871 MB / 398.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.001241/0.3594, allocations: 0.6262 MB / 490.9 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.3598, allocations: 147.1 kB / 491.1 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.3632, allocations: 1.905 MB / 493 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3632, allocations: 8 kB / 493 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3632, allocations: 4 kB / 493 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3632, allocations: 3.984 kB / 493 MB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.3704, allocations: 3.957 MB / 496.9 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.3704, allocations: 4 kB / 497 MB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.3713, allocations: 187.7 kB / 497.1 MB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.3725, allocations: 459.1 kB / 497.6 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.3726, allocations: 31.92 kB / 497.6 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006968/0.3795, allocations: 6.377 MB / 0.4922 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.3795, allocations: 7.922 kB / 0.4922 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004827/0.3844, allocations: 2.784 MB / 0.4949 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.3854, allocations: 286.9 kB / 0.4952 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.3856, allocations: 31.98 kB / 0.4952 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/0.3864, allocations: 63.92 kB / 0.4953 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.3866, allocations: 92.77 kB / 0.4954 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.3867, allocations: 28 kB / 0.4954 GB, free: 8.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.3882, allocations: 0.9581 MB / 0.4963 GB, free: 7.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3882, allocations: 0 / 0.4963 GB, free: 7.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001502/0.3897, allocations: 435.9 kB / 0.4967 GB, free: 6.984 MB / 414.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.005162/0.3949, allocations: 3.396 MB / 0.5001 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003632/0.3985, allocations: 1.938 MB / 0.5019 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.3985, allocations: 4.188 kB / 0.502 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.4006, allocations: 1.229 MB / 0.5032 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4025, allocations: 382.3 kB / 0.5035 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/0.4277, allocations: 16.34 MB / 0.5195 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.4292, allocations: 1.696 MB / 0.5211 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008586/0.4301, allocations: 316 kB / 0.5214 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/0.431, allocations: 0.7063 MB / 0.5221 GB, free: 12.35 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.431, allocations: 0 / 0.5221 GB, free: 12.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2701/0.7011, allocations: 41.09 MB / 0.5622 GB, free: 91.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/20.07, allocations: 3.734 kB / 0.5623 GB, free: 91.12 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.is[1] in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.317670836000616]