Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001319/0.001319, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001385/0.001385, allocations: 204.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_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_1_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.001524/0.001524, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01052/0.2538, allocations: 7.948 MB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.259, allocations: 2.793 MB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.2597, allocations: 51.69 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.2611, allocations: 0.59 MB / 442.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.2629, allocations: 0.7808 MB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.2636, allocations: 331.5 kB / 443.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.2661, allocations: 2.381 MB / 446 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.2675, allocations: 1.02 MB / 447 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.2689, allocations: 1.098 MB / 448.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.2707, allocations: 1.386 MB / 449.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.2711, allocations: 280 kB / 449.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007082/0.2718, allocations: 379.8 kB / 450.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008258/0.2727, allocations: 0.8141 MB / 450.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2739, allocations: 1.019 MB / 451.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.2776, allocations: 3.737 MB / 455.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2777, allocations: 7.938 kB / 455.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2777, allocations: 0 / 455.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.905e-05/0.2777, allocations: 0 / 455.7 MB, free: 13.88 MB / 366.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.004799/0.2825, allocations: 2.583 MB / 458.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2825, allocations: 8.031 kB / 458.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003427/0.2829, allocations: 266 kB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009024/0.2838, allocations: 299.3 kB / 458.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.2864, allocations: 1.349 MB / 460.2 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.2865, allocations: 139.7 kB / 460.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.2868, allocations: 187.9 kB / 460.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/0.2909, allocations: 2.51 MB / 463 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.291, allocations: 0 / 463 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.2911, allocations: 76 kB / 463.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.2912, allocations: 87.5 kB / 463.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.2948, allocations: 2.012 MB / 465.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.3064, allocations: 6.664 MB / 471.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.3082, allocations: 0.9844 MB / 472.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.3099, allocations: 0.8612 MB / 473.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.3101, allocations: 40.97 kB / 473.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3102, allocations: 43.56 kB / 473.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.3102, allocations: 0 / 473.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009191/0.3194, allocations: 4.691 MB / 478.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3194, allocations: 64.41 kB / 478.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.3214, allocations: 1.408 MB / 479.9 MB, free: 5.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.453e-05/0.3215, allocations: 45.7 kB / 480 MB, free: 5.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007499/0.3222, allocations: 0.9227 MB / 480.9 MB, free: 4.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.3225, allocations: 364.9 kB / 481.3 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.3229, allocations: 218.9 kB / 481.5 MB, free: 3.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3231, allocations: 353.9 kB / 481.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.3241, allocations: 0.6272 MB / 482.4 MB, free: 2.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3254, allocations: 0.922 MB / 483.4 MB, free: 1.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.3278, allocations: 1.653 MB / 485 MB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.3278, allocations: 3.938 kB / 485 MB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004249/0.332, allocations: 2.387 MB / 487.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3321, allocations: 8 kB / 487.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3321, allocations: 8 kB / 487.4 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.3339, allocations: 0.7127 MB / 488.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/0.3348, allocations: 239.6 kB / 488.4 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.346, allocations: 8.437 MB / 496.8 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3471, allocations: 87.95 kB / 496.9 MB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.3472, allocations: 48 kB / 496.9 MB, free: 3.652 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.00113/0.3483, allocations: 0.6378 MB / 497.6 MB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.3486, allocations: 151 kB / 497.7 MB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.3521, allocations: 1.897 MB / 499.6 MB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3521, allocations: 12 kB / 499.6 MB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3521, allocations: 4 kB / 499.6 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3522, allocations: 3.984 kB / 499.6 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006961/0.3591, allocations: 3.755 MB / 0.4916 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.3591, allocations: 12.16 kB / 0.4916 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/0.3599, allocations: 175.8 kB / 0.4918 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.3611, allocations: 458.9 kB / 0.4922 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/0.3612, allocations: 31.91 kB / 0.4922 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006926/0.3681, allocations: 6.331 MB / 0.4984 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3682, allocations: 7.969 kB / 0.4984 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/0.3727, allocations: 2.772 MB / 0.5011 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.3736, allocations: 290.9 kB / 0.5014 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.3738, allocations: 28 kB / 0.5014 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/0.3745, allocations: 71.92 kB / 0.5015 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.3747, allocations: 84.77 kB / 0.5016 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.3748, allocations: 35.92 kB / 0.5016 GB, free: 2.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.3763, allocations: 0.9586 MB / 0.5026 GB, free: 1.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3763, allocations: 0 / 0.5026 GB, free: 1.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001371/0.3776, allocations: 439.9 kB / 0.503 GB, free: 0.9922 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.004922/0.3826, allocations: 3.404 MB / 0.5063 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.386, allocations: 1.946 MB / 0.5082 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.386, allocations: 4.25 kB / 0.5082 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.3881, allocations: 1.225 MB / 0.5094 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.3899, allocations: 393.1 kB / 0.5098 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/0.4158, allocations: 16.39 MB / 0.5258 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.4172, allocations: 1.126 MB / 0.5269 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009713/0.4182, allocations: 316 kB / 0.5272 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009708/0.4192, allocations: 0.7023 MB / 0.5279 GB, free: 6.871 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4192, allocations: 0 / 0.5279 GB, free: 6.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2557/0.6748, allocations: 43.49 MB / 0.5703 GB, free: 77.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.47, allocations: 11.8 kB / 0.5704 GB, free: 77.65 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.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.50616565402015]