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.001827/0.001827, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.002211/0.002211, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.395/1.395, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001535/0.001535, allocations: 51.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2746, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01111/0.2857, allocations: 7.908 MB / 430.5 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005769/0.2915, allocations: 2.703 MB / 433.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.2926, allocations: 51.69 kB / 433.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.2944, allocations: 0.5822 MB / 433.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.2968, allocations: 0.7847 MB / 434.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.2975, allocations: 319.5 kB / 434.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.3006, allocations: 2.366 MB / 437.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.302, allocations: 0.9775 MB / 438.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.3038, allocations: 1.086 MB / 439.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.3062, allocations: 1.3 MB / 440.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006592/0.3068, allocations: 283.9 kB / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.308, allocations: 363.8 kB / 441.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.309, allocations: 0.8141 MB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.3109, allocations: 1.019 MB / 443.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.3158, allocations: 3.71 MB / 446.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3158, allocations: 0 / 446.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3158, allocations: 0 / 446.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001164/0.3159, allocations: 0 / 446.8 MB, free: 6.043 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.006145/0.322, allocations: 2.571 MB / 449.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3221, allocations: 8.031 kB / 449.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000422/0.3225, allocations: 270 kB / 449.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007296/0.3232, allocations: 263.4 kB / 449.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.326, allocations: 1.333 MB / 451.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.3261, allocations: 139.9 kB / 451.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.3265, allocations: 187.9 kB / 451.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.3308, allocations: 2.514 MB / 454.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.3308, allocations: 3.938 kB / 454.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.331, allocations: 72 kB / 454.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3311, allocations: 87.48 kB / 454.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.3347, allocations: 2.016 MB / 456.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.3465, allocations: 6.668 MB / 462.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3483, allocations: 0.9819 MB / 463.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.3501, allocations: 0.8573 MB / 464.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.3503, allocations: 48.97 kB / 464.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3503, allocations: 43.56 kB / 464.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.477e-06/0.3503, allocations: 0 / 464.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009277/0.3596, allocations: 4.693 MB / 469.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3597, allocations: 64.39 kB / 469.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.3617, allocations: 1.392 MB / 471 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.3618, allocations: 45.64 kB / 471.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007977/0.3626, allocations: 0.9265 MB / 472 MB, free: 12.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.3629, allocations: 360.9 kB / 472.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.3633, allocations: 218.9 kB / 472.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3635, allocations: 349.9 kB / 472.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3645, allocations: 0.635 MB / 473.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3657, allocations: 0.9181 MB / 474.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.3681, allocations: 1.645 MB / 476.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3681, allocations: 4 kB / 476.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004255/0.3724, allocations: 2.379 MB / 478.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3724, allocations: 12 kB / 478.5 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3724, allocations: 8.25 kB / 478.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.3742, allocations: 0.7157 MB / 479.2 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/0.3751, allocations: 231.7 kB / 479.4 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.3866, allocations: 8.441 MB / 487.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3878, allocations: 83.86 kB / 488 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.3879, allocations: 44 kB / 488 MB, free: 11.9 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.001066/0.3889, allocations: 0.6341 MB / 488.6 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.3892, allocations: 147.1 kB / 488.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.3926, allocations: 1.882 MB / 490.7 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.3926, allocations: 12 kB / 490.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.3926, allocations: 11.98 kB / 490.7 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3926, allocations: 3.984 kB / 490.7 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.3994, allocations: 3.746 MB / 494.4 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3994, allocations: 0 / 494.4 MB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.4002, allocations: 188 kB / 494.6 MB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.4015, allocations: 469 kB / 495.1 MB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/0.4016, allocations: 27.98 kB / 495.1 MB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007149/0.4087, allocations: 6.343 MB / 0.4897 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.4087, allocations: 11.88 kB / 0.4897 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/0.4136, allocations: 2.776 MB / 0.4924 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.4147, allocations: 282.9 kB / 0.4927 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.4149, allocations: 27.98 kB / 0.4927 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.4156, allocations: 63.92 kB / 0.4928 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.4159, allocations: 88.84 kB / 0.4929 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.4159, allocations: 27.98 kB / 0.4929 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.4175, allocations: 0.9581 MB / 0.4938 GB, free: 9.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4175, allocations: 0 / 0.4938 GB, free: 9.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001841/0.4193, allocations: 431.9 kB / 0.4942 GB, free: 9.285 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.005462/0.4248, allocations: 3.397 MB / 0.4976 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004085/0.4289, allocations: 1.942 MB / 0.4994 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4289, allocations: 0 / 0.4994 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.4311, allocations: 1.237 MB / 0.5007 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.4329, allocations: 380.4 kB / 0.501 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/0.4589, allocations: 16.34 MB / 0.517 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.4603, allocations: 1.114 MB / 0.5181 GB, free: 252 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009212/0.4612, allocations: 312 kB / 0.5184 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009682/0.4621, allocations: 0.6984 MB / 0.519 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4621, allocations: 7.938 kB / 0.519 GB, free: 15.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2793/0.7415, allocations: 42.82 MB / 0.5609 GB, free: 93.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.56, allocations: 2.578 kB / 0.5609 GB, free: 93.16 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.74175739614293]