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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001665/0.001665, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001607/0.001607, allocations: 48.08 kB / 377.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2352, allocations: 53.36 MB / 431.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01051/0.2457, allocations: 7.948 MB / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005485/0.2512, allocations: 2.785 MB / 441.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.2525, allocations: 51.69 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.2543, allocations: 0.59 MB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.2569, allocations: 0.7729 MB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.2579, allocations: 339.5 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.2611, allocations: 2.385 MB / 446 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.2629, allocations: 0.9814 MB / 446.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.2647, allocations: 1.102 MB / 448 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.267, allocations: 1.304 MB / 449.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007359/0.2678, allocations: 280 kB / 449.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2689, allocations: 379.8 kB / 450 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.2701, allocations: 0.8141 MB / 450.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.2719, allocations: 1.023 MB / 451.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.277, allocations: 3.73 MB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.277, allocations: 7.938 kB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.277, allocations: 0 / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001299/0.2772, allocations: 3.938 kB / 455.6 MB, free: 14.29 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.007115/0.2843, allocations: 2.579 MB / 458.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2843, allocations: 8.031 kB / 458.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005909/0.2849, allocations: 266 kB / 458.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.286, allocations: 303.3 kB / 458.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.2888, allocations: 1.349 MB / 460.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2889, allocations: 135.7 kB / 460.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.2892, allocations: 187.9 kB / 460.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/0.2931, allocations: 2.514 MB / 462.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.2931, allocations: 0 / 462.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.2933, allocations: 72 kB / 463 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.2934, allocations: 91.48 kB / 463 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.2968, allocations: 2.009 MB / 465.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.3077, allocations: 6.664 MB / 471.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.3094, allocations: 0.9844 MB / 472.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.3112, allocations: 0.8612 MB / 473.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.3114, allocations: 44.91 kB / 473.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3114, allocations: 43.56 kB / 473.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/0.3114, allocations: 0 / 473.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009016/0.3204, allocations: 4.691 MB / 478.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3205, allocations: 64.41 kB / 478.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.3224, allocations: 1.404 MB / 479.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.3225, allocations: 45.7 kB / 479.9 MB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.3232, allocations: 0.9189 MB / 480.8 MB, free: 4.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.3236, allocations: 368.9 kB / 481.1 MB, free: 4.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.3239, allocations: 218.9 kB / 481.3 MB, free: 4.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3241, allocations: 353.9 kB / 481.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3251, allocations: 0.6311 MB / 482.3 MB, free: 3.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.3263, allocations: 0.922 MB / 483.2 MB, free: 2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.3287, allocations: 1.649 MB / 484.9 MB, free: 236 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.3287, allocations: 7.938 kB / 484.9 MB, free: 228 kB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004218/0.3329, allocations: 2.379 MB / 487.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.3329, allocations: 8 kB / 487.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3329, allocations: 8 kB / 487.3 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.3347, allocations: 0.7129 MB / 488 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.3356, allocations: 243.6 kB / 488.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.3467, allocations: 8.444 MB / 496.7 MB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3478, allocations: 87.8 kB / 496.8 MB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.3479, allocations: 44 kB / 496.8 MB, free: 4.055 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.001045/0.3489, allocations: 0.634 MB / 497.5 MB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.3492, allocations: 151 kB / 497.6 MB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.3525, allocations: 1.897 MB / 499.5 MB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3526, allocations: 12 kB / 499.5 MB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3526, allocations: 4 kB / 499.5 MB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3526, allocations: 7.984 kB / 499.5 MB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/0.3592, allocations: 3.747 MB / 0.4915 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3592, allocations: 4 kB / 0.4915 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.3599, allocations: 175.8 kB / 0.4916 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.3612, allocations: 463.1 kB / 0.4921 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.3612, allocations: 27.92 kB / 0.4921 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006876/0.3681, allocations: 6.341 MB / 0.4983 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.3681, allocations: 11.95 kB / 0.4983 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.3726, allocations: 2.776 MB / 0.501 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009282/0.3735, allocations: 294.9 kB / 0.5013 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3737, allocations: 24 kB / 0.5013 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/0.3745, allocations: 67.92 kB / 0.5014 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.3747, allocations: 84.77 kB / 0.5015 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.3748, allocations: 35.92 kB / 0.5015 GB, free: 2.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.3762, allocations: 0.9586 MB / 0.5025 GB, free: 1.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3762, allocations: 0 / 0.5025 GB, free: 1.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001507/0.3778, allocations: 443.9 kB / 0.5029 GB, free: 1.398 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.004875/0.3826, allocations: 3.399 MB / 0.5062 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003494/0.3861, allocations: 1.945 MB / 0.5081 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3861, allocations: 0 / 0.5081 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.3883, allocations: 1.226 MB / 0.5093 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.3904, allocations: 389.2 kB / 0.5097 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/0.4166, allocations: 16.39 MB / 0.5257 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4179, allocations: 1.126 MB / 0.5268 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009684/0.4189, allocations: 316 kB / 0.5271 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009645/0.4199, allocations: 0.7023 MB / 0.5278 GB, free: 7.285 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4199, allocations: 4 kB / 0.5278 GB, free: 7.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2709/0.6908, allocations: 43.06 MB / 0.5698 GB, free: 80.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.52, allocations: 7.938 kB / 0.5698 GB, free: 80.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.578029378782958]