Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001615/0.001615, 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.002134/0.002134, allocations: 206.9 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_4_1_0_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_4_1_0_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 0.00149/0.00149, allocations: 47.92 kB / 377.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2955, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02727/0.3228, allocations: 21.36 MB / 452.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.3387, allocations: 7.17 MB / 459.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00567/0.3443, allocations: 226.9 kB / 459.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02126/0.3656, allocations: 8.221 MB / 468.1 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.3767, allocations: 2.984 MB / 471.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.3824, allocations: 1.731 MB / 472.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.3987, allocations: 10.94 MB / 483.7 MB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02642/0.4251, allocations: 14.35 MB / 498.1 MB, free: 3.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00952/0.4346, allocations: 5.876 MB / 0.4922 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/0.4457, allocations: 6.362 MB / 0.4984 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004282/0.45, allocations: 1.672 MB / 0.5 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005878/0.4559, allocations: 2.062 MB / 0.502 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004861/0.4607, allocations: 3.157 MB / 0.5051 GB, free: 176 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009364/0.4701, allocations: 4.713 MB / 0.5097 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02938/0.4995, allocations: 22.48 MB / 0.5317 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4995, allocations: 0 / 0.5317 GB, free: 4.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4995, allocations: 0 / 0.5317 GB, free: 4.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006688/0.5002, allocations: 4 kB / 0.5317 GB, free: 4.891 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.4234/0.9236, allocations: 12.88 MB / 0.5442 GB, free: 89.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9237, allocations: 7.938 kB / 0.5443 GB, free: 89.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004949/0.9286, allocations: 1.547 MB / 0.5458 GB, free: 88.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/0.9598, allocations: 6.186 MB / 0.5518 GB, free: 82.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.9736, allocations: 7.013 MB / 0.5587 GB, free: 75.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005738/0.9742, allocations: 0.698 MB / 0.5593 GB, free: 75.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/0.9783, allocations: 0.9128 MB / 0.5602 GB, free: 74.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03296/1.011, allocations: 15.93 MB / 0.5758 GB, free: 58.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/1.012, allocations: 11.91 kB / 0.5758 GB, free: 58.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/1.014, allocations: 391.3 kB / 0.5762 GB, free: 57.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004276/1.015, allocations: 0.5508 MB / 0.5767 GB, free: 57.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/1.039, allocations: 14.75 MB / 0.5911 GB, free: 42.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06903/1.109, allocations: 45.7 MB / 0.6357 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.126, allocations: 9.192 MB / 0.6447 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007635/1.134, allocations: 2.932 MB / 0.6476 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005152/1.135, allocations: 98.98 kB / 0.6477 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.224e-05/1.135, allocations: 81.67 kB / 0.6478 GB, free: 1.152 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 1.036e-05/1.135, allocations: 4 kB / 0.6478 GB, free: 1.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.0388/1.173, allocations: 17.08 MB / 0.6644 GB, free: 112 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/1.174, allocations: 94.58 kB / 0.6645 GB, free: 4 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/1.18, allocations: 3.809 MB / 0.6682 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006249/1.181, allocations: 89.7 kB / 0.6683 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003427/1.184, allocations: 4.123 MB / 0.6724 GB, free: 7.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001924/1.186, allocations: 1.445 MB / 0.6738 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002927/1.189, allocations: 1.152 MB / 0.6749 GB, free: 5.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/1.189, allocations: 309.1 kB / 0.6752 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004912/1.194, allocations: 2.795 MB / 0.6779 GB, free: 2.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007117/1.201, allocations: 4.982 MB / 0.6828 GB, free: 12.23 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.214, allocations: 8.318 MB / 0.6909 GB, free: 2.914 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.994e-05/1.214, allocations: 20 kB / 0.6909 GB, free: 2.895 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02021/1.234, allocations: 9.07 MB / 0.6998 GB, free: 9.797 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.234, allocations: 36 kB / 0.6998 GB, free: 9.762 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/1.235, allocations: 72 kB / 0.6999 GB, free: 9.691 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003745/1.238, allocations: 1.186 MB / 0.701 GB, free: 8.504 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005559/1.244, allocations: 1.322 MB / 0.7023 GB, free: 7.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/1.261, allocations: 9.502 MB / 0.7116 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.265, allocations: 331.5 kB / 0.7119 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.267, allocations: 292 kB / 0.7122 GB, free: 12.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00787/1.274, allocations: 3.701 MB / 0.7158 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/1.276, allocations: 425.2 kB / 0.7162 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/1.291, allocations: 6.626 MB / 0.7227 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01073/1.302, allocations: 5.548 MB / 0.7281 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/1.302, allocations: 12 kB / 0.7281 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.814e-05/1.302, allocations: 23.86 kB / 0.7282 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03781/1.34, allocations: 14.99 MB / 0.7428 GB, free: 13.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.34, allocations: 4 kB / 0.7428 GB, free: 13.37 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003675/1.343, allocations: 0.7293 MB / 0.7435 GB, free: 12.64 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.347, allocations: 1.077 MB / 0.7446 GB, free: 11.56 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007667/1.347, allocations: 99.84 kB / 0.7447 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/1.362, allocations: 8.465 MB / 0.7529 GB, free: 2.891 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.362, allocations: 4 kB / 0.7529 GB, free: 2.887 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2933/1.656, allocations: 9.803 MB / 0.7625 GB, free: 193 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.658, allocations: 0.9153 MB / 0.7634 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007194/1.659, allocations: 75.5 kB / 0.7635 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.661, allocations: 199.3 kB / 0.7637 GB, free: 192.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/1.662, allocations: 307.9 kB / 0.7639 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/1.662, allocations: 125.5 kB / 0.7641 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003039/1.665, allocations: 2.487 MB / 0.7665 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.665, allocations: 0 / 0.7665 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004768/1.67, allocations: 1.606 MB / 0.7681 GB, free: 191.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01247/1.682, allocations: 10.55 MB / 0.7784 GB, free: 186.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009844/1.692, allocations: 6.86 MB / 0.7851 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.692, allocations: 0 / 0.7851 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/1.697, allocations: 3.164 MB / 0.7882 GB, free: 181.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005464/1.703, allocations: 0.9787 MB / 0.7891 GB, free: 180.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0879/1.791, allocations: 54.2 MB / 0.842 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/1.801, allocations: 5.737 MB / 0.8476 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005357/1.806, allocations: 1.912 MB / 0.8495 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004839/1.811, allocations: 3.327 MB / 0.8528 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.163e-06/1.811, allocations: 0 / 0.8528 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4227/2.234, allocations: 133.7 MB / 0.9833 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/18.75, allocations: 0 / 0.9833 GB, free: 177.1 MB / 0.5607 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.814679263014114]