Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.0008515/0.0008515, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003624/0.003624, allocations: 163.1 kB / 24.69 MB, free: 9.41 MB / 18.57 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 0.859/0.859, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 298.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.864e-05, allocations: 6.281 kB / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1463/0.1464, allocations: 21.43 MB / 319.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1601, allocations: 7.102 MB / 327 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005352/0.1654, allocations: 185.8 kB / 327.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01464/0.1801, allocations: 8.671 MB / 335.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01316/0.1932, allocations: 3.064 MB / 338.9 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005618/0.1988, allocations: 1.739 MB / 340.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01643/0.2153, allocations: 11.34 MB / 352 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02549/0.2408, allocations: 14.25 MB / 366.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/0.2562, allocations: 8.721 MB / 375 MB, free: 2.027 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009097/0.2653, allocations: 5.559 MB / 380.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004505/0.2698, allocations: 1.676 MB / 382.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006547/0.2763, allocations: 2.046 MB / 384.3 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00448/0.2808, allocations: 3.286 MB / 387.6 MB, free: 5.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008325/0.2891, allocations: 4.133 MB / 391.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.3127, allocations: 22.74 MB / 414.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3127, allocations: 4 kB / 414.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3127, allocations: 0 / 414.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006199/0.3134, allocations: 3.938 kB / 414.4 MB, free: 10.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03064/0.344, allocations: 12.94 MB / 427.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.3441, allocations: 15.98 kB / 427.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005276/0.3493, allocations: 1.577 MB / 429 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02168/0.371, allocations: 7.247 MB / 436.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.3822, allocations: 6.251 MB / 442.5 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.3827, allocations: 0.7105 MB / 443.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/0.3864, allocations: 0.9373 MB / 444.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.278/0.6644, allocations: 16.35 MB / 460.5 MB, free: 103.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/0.6646, allocations: 12.86 kB / 460.5 MB, free: 103.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/0.6666, allocations: 398.7 kB / 460.9 MB, free: 103.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004943/0.6671, allocations: 0.5814 MB / 461.4 MB, free: 103.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/0.6963, allocations: 15.38 MB / 476.8 MB, free: 97.95 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06288/0.7592, allocations: 46.58 MB / 0.5112 GB, free: 63.33 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.7703, allocations: 10.93 MB / 0.5218 GB, free: 54.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/0.7733, allocations: 3.07 MB / 0.5248 GB, free: 50.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009919/0.7832, allocations: 9.035 MB / 0.5336 GB, free: 42.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.7832, allocations: 68.88 kB / 0.5337 GB, free: 42.04 MB / 410.8 MB Notification: Performance of pre-optimization done (n=297): time 4.418e-06/0.7832, allocations: 0 / 0.5337 GB, free: 42.04 MB / 410.8 MB Notification: Performance of matching and sorting (n=303): time 0.01902/0.8022, allocations: 15.1 MB / 0.5485 GB, free: 27.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.8023, allocations: 85.78 kB / 0.5485 GB, free: 27.15 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.8061, allocations: 3.988 MB / 0.5524 GB, free: 23.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004065/0.8065, allocations: 73.7 kB / 0.5525 GB, free: 23.17 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.8078, allocations: 4.391 MB / 0.5568 GB, free: 18.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/0.8085, allocations: 1.095 MB / 0.5579 GB, free: 17.69 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009828/0.8094, allocations: 1.088 MB / 0.5589 GB, free: 16.59 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.341e-05/0.8095, allocations: 305.1 kB / 0.5592 GB, free: 16.29 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.8119, allocations: 2.548 MB / 0.5617 GB, free: 13.73 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.8148, allocations: 4.934 MB / 0.5665 GB, free: 7.668 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/0.8212, allocations: 7.931 MB / 0.5743 GB, free: 14.6 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.754e-05/0.8213, allocations: 28 kB / 0.5743 GB, free: 14.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01211/0.8334, allocations: 8.595 MB / 0.5827 GB, free: 5.941 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.8334, allocations: 40 kB / 0.5827 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.8335, allocations: 79.94 kB / 0.5828 GB, free: 5.824 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.8356, allocations: 1.204 MB / 0.584 GB, free: 4.617 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/0.8386, allocations: 1.224 MB / 0.5852 GB, free: 3.391 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.849, allocations: 9.533 MB / 0.5945 GB, free: 9.742 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/0.8528, allocations: 335.5 kB / 0.5948 GB, free: 9.414 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.8539, allocations: 288 kB / 0.5951 GB, free: 9.133 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006502/0.8604, allocations: 3.732 MB / 0.5987 GB, free: 5.383 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008168/0.8612, allocations: 401.4 kB / 0.5991 GB, free: 4.988 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007159/0.8684, allocations: 5.744 MB / 0.6047 GB, free: 15.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005074/0.8735, allocations: 4.688 MB / 0.6093 GB, free: 10.46 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8735, allocations: 12 kB / 0.6093 GB, free: 10.45 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.8735, allocations: 19.88 kB / 0.6093 GB, free: 10.43 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1785/1.052, allocations: 13.03 MB / 0.622 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.052, allocations: 3.375 kB / 0.6221 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.054, allocations: 0.5619 MB / 0.6226 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/1.056, allocations: 1.072 MB / 0.6236 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005963/1.057, allocations: 68.89 kB / 0.6237 GB, free: 139.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009387/1.066, allocations: 8.446 MB / 0.632 GB, free: 136.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.066, allocations: 4.281 kB / 0.632 GB, free: 136.1 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.077, allocations: 8.442 MB / 0.6402 GB, free: 132.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.079, allocations: 0.8267 MB / 0.641 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008013/1.08, allocations: 62.06 kB / 0.6411 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.082, allocations: 187 kB / 0.6413 GB, free: 132.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006679/1.082, allocations: 237.6 kB / 0.6415 GB, free: 132.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.082, allocations: 99.59 kB / 0.6416 GB, free: 132.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003741/1.086, allocations: 2.571 MB / 0.6441 GB, free: 131.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.086, allocations: 2 kB / 0.6441 GB, free: 131.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005464/1.092, allocations: 1.546 MB / 0.6456 GB, free: 131.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009314/1.101, allocations: 9.128 MB / 0.6545 GB, free: 127 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007168/1.108, allocations: 6.244 MB / 0.6606 GB, free: 124.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.108, allocations: 3.938 kB / 0.6606 GB, free: 124.6 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/1.112, allocations: 2.743 MB / 0.6633 GB, free: 123.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.115, allocations: 0.9435 MB / 0.6642 GB, free: 123.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06538/1.18, allocations: 52.9 MB / 0.7159 GB, free: 70.62 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.185, allocations: 5.777 MB / 0.7215 GB, free: 64.79 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003211/1.189, allocations: 1.886 MB / 0.7234 GB, free: 62.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002891/1.191, allocations: 3.253 MB / 0.7265 GB, free: 59.65 MB / 458.8 MB Notification: Performance of SimCode: time 1.864e-06/1.191, allocations: 0 / 0.7265 GB, free: 59.65 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/1.467, allocations: 123.4 MB / 0.8471 GB, free: 124.6 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.69, allocations: 0 / 0.8471 GB, free: 124.6 MB / 474.8 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable imcQS.rotorCage.port_p.reference.gamma in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable imcQS.rotorCage.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.438130914233625]