Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 214.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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.00196/0.00196, allocations: 59.89 kB / 377.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2819, allocations: 53.4 MB / 431.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02797/0.3099, allocations: 21.38 MB / 452.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.3272, allocations: 7.166 MB / 459.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005954/0.3332, allocations: 222.9 kB / 459.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.022/0.3552, allocations: 8.211 MB / 468.1 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.3671, allocations: 2.961 MB / 471.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00607/0.3732, allocations: 1.713 MB / 472.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01619/0.3894, allocations: 10.93 MB / 483.7 MB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02605/0.4154, allocations: 14.18 MB / 497.9 MB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009348/0.4248, allocations: 5.861 MB / 0.492 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/0.4356, allocations: 6.073 MB / 0.4979 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004245/0.4399, allocations: 1.668 MB / 0.4995 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007006/0.4469, allocations: 2.039 MB / 0.5015 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005413/0.4523, allocations: 3.168 MB / 0.5046 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01006/0.4624, allocations: 4.709 MB / 0.5092 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03154/0.4939, allocations: 22.48 MB / 0.5312 GB, free: 5.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4939, allocations: 3.938 kB / 0.5312 GB, free: 5.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4939, allocations: 0 / 0.5312 GB, free: 5.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000578/0.4945, allocations: 3.938 kB / 0.5312 GB, free: 5.25 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.4843/0.9788, allocations: 12.88 MB / 0.5438 GB, free: 52.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.9788, allocations: 13.42 kB / 0.5438 GB, free: 52.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007312/0.9862, allocations: 1.551 MB / 0.5453 GB, free: 52.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03682/1.023, allocations: 6.18 MB / 0.5513 GB, free: 52.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01524/1.038, allocations: 7.011 MB / 0.5582 GB, free: 50.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007425/1.039, allocations: 0.7056 MB / 0.5589 GB, free: 50.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003586/1.043, allocations: 0.9182 MB / 0.5598 GB, free: 49.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03391/1.076, allocations: 15.93 MB / 0.5753 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00039/1.077, allocations: 7.953 kB / 0.5753 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002683/1.08, allocations: 391.5 kB / 0.5757 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004606/1.08, allocations: 0.5547 MB / 0.5762 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/1.104, allocations: 14.74 MB / 0.5906 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08425/1.188, allocations: 45.7 MB / 0.6353 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.209, allocations: 9.191 MB / 0.6442 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006017/1.215, allocations: 2.922 MB / 0.6471 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004978/1.215, allocations: 95.05 kB / 0.6472 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/1.215, allocations: 82.61 kB / 0.6473 GB, free: 10.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 1.09e-05/1.215, allocations: 0 / 0.6473 GB, free: 10.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04513/1.26, allocations: 17.09 MB / 0.6639 GB, free: 9.5 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/1.26, allocations: 94.58 kB / 0.664 GB, free: 9.395 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007402/1.268, allocations: 3.816 MB / 0.6678 GB, free: 5.578 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005995/1.268, allocations: 89.7 kB / 0.6678 GB, free: 5.484 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003531/1.272, allocations: 4.13 MB / 0.6719 GB, free: 1.344 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/1.274, allocations: 1.436 MB / 0.6733 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003534/1.277, allocations: 1.156 MB / 0.6744 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.278, allocations: 305.1 kB / 0.6747 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/1.283, allocations: 2.794 MB / 0.6774 GB, free: 11.67 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/1.29, allocations: 4.98 MB / 0.6823 GB, free: 5.723 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/1.304, allocations: 8.319 MB / 0.6904 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.33e-05/1.304, allocations: 20 kB / 0.6904 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01929/1.323, allocations: 9.066 MB / 0.6993 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.323, allocations: 32.53 kB / 0.6993 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.323, allocations: 76 kB / 0.6994 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003599/1.327, allocations: 1.192 MB / 0.7006 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/1.332, allocations: 1.324 MB / 0.7019 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.349, allocations: 9.496 MB / 0.7111 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.354, allocations: 327.6 kB / 0.7114 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.355, allocations: 291.9 kB / 0.7117 GB, free: 7.344 MB / 0.545 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.00741/1.362, allocations: 3.705 MB / 0.7153 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.363, allocations: 425.3 kB / 0.7157 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/1.379, allocations: 6.621 MB / 0.7222 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01084/1.389, allocations: 5.55 MB / 0.7276 GB, free: 7.148 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/1.39, allocations: 14.73 kB / 0.7276 GB, free: 7.137 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/1.39, allocations: 19.92 kB / 0.7277 GB, free: 7.117 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03305/1.423, allocations: 15 MB / 0.7423 GB, free: 8.164 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.423, allocations: 4 kB / 0.7423 GB, free: 8.16 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/1.426, allocations: 0.7327 MB / 0.743 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003352/1.429, allocations: 1.076 MB / 0.7441 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005933/1.43, allocations: 95.97 kB / 0.7442 GB, free: 6.293 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2505/1.68, allocations: 8.442 MB / 0.7524 GB, free: 207 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.68, allocations: 9.844 kB / 0.7524 GB, free: 207 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.694, allocations: 9.829 MB / 0.762 GB, free: 204.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/1.696, allocations: 0.9163 MB / 0.7629 GB, free: 204.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005013/1.696, allocations: 75.03 kB / 0.763 GB, free: 204.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.698, allocations: 197.9 kB / 0.7632 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/1.699, allocations: 308.2 kB / 0.7635 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.699, allocations: 124.8 kB / 0.7636 GB, free: 204.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003196/1.702, allocations: 2.489 MB / 0.766 GB, free: 203.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/1.702, allocations: 0 / 0.766 GB, free: 203.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004644/1.707, allocations: 1.608 MB / 0.7676 GB, free: 203.1 MB / 0.5763 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.01209/1.719, allocations: 10.54 MB / 0.7779 GB, free: 198.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009343/1.728, allocations: 6.846 MB / 0.7846 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.728, allocations: 4 kB / 0.7846 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004523/1.733, allocations: 3.155 MB / 0.7877 GB, free: 191.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/1.738, allocations: 0.9855 MB / 0.7886 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09216/1.83, allocations: 54.21 MB / 0.8416 GB, free: 137.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009351/1.839, allocations: 5.742 MB / 0.8472 GB, free: 131.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005224/1.844, allocations: 1.923 MB / 0.849 GB, free: 129.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005151/1.849, allocations: 3.323 MB / 0.8523 GB, free: 126 MB / 0.5763 GB Notification: Performance of SimCode: time 1.343e-06/1.849, allocations: 0 / 0.8523 GB, free: 126 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4803/2.33, allocations: 130.7 MB / 0.9799 GB, free: 182.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/19.8, allocations: 3.969 kB / 0.9799 GB, free: 182.9 MB / 0.5763 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/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_trunk_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_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: 22.43395871995017]