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.001703/0.001703, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002049/0.002049, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 7.992 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 55.91 kB / 378.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2695, allocations: 53.41 MB / 432 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02927/0.2988, allocations: 24.95 MB / 457 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3146, allocations: 7.504 MB / 464.5 MB, free: 6.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005581/0.3202, allocations: 222.9 kB / 464.7 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02148/0.3417, allocations: 8.902 MB / 473.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.3538, allocations: 3.046 MB / 476.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.3597, allocations: 1.779 MB / 478.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01797/0.3777, allocations: 10.95 MB / 489.4 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02757/0.4053, allocations: 14.36 MB / 0.4919 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.417, allocations: 5.857 MB / 0.4976 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/0.4303, allocations: 6.37 MB / 0.5038 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005212/0.4355, allocations: 1.672 MB / 0.5055 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007036/0.4425, allocations: 2.062 MB / 0.5075 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005037/0.4476, allocations: 3.164 MB / 0.5106 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0119/0.4595, allocations: 6.094 MB / 0.5165 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4858/0.9453, allocations: 22.39 MB / 0.5384 GB, free: 39.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9453, allocations: 0.5 kB / 0.5384 GB, free: 39.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.9453, allocations: 3.656 kB / 0.5384 GB, free: 39.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005607/0.9458, allocations: 0.5625 kB / 0.5384 GB, free: 39.69 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.03954/0.9854, allocations: 12.89 MB / 0.551 GB, free: 36.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.9854, allocations: 9.656 kB / 0.551 GB, free: 36.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003311/0.9857, allocations: 288.8 kB / 0.5513 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005549/0.9913, allocations: 1.551 MB / 0.5528 GB, free: 36.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03322/1.025, allocations: 6.181 MB / 0.5588 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.04, allocations: 7.008 MB / 0.5657 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008503/1.041, allocations: 0.7006 MB / 0.5664 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004635/1.046, allocations: 0.9281 MB / 0.5673 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03729/1.083, allocations: 15.78 MB / 0.5827 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004269/1.084, allocations: 11.95 kB / 0.5827 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003934/1.088, allocations: 391.5 kB / 0.5831 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005334/1.088, allocations: 0.5548 MB / 0.5836 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/1.116, allocations: 14.81 MB / 0.5981 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/1.218, allocations: 49.92 MB / 0.6468 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/1.239, allocations: 9.312 MB / 0.6559 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006427/1.246, allocations: 2.939 MB / 0.6588 GB, free: 8.992 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/1.246, allocations: 130.6 kB / 0.6589 GB, free: 8.891 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/1.246, allocations: 77.7 kB / 0.659 GB, free: 8.805 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=400): time 9.347e-06/1.246, allocations: 0 / 0.659 GB, free: 8.805 MB / 0.4982 GB Notification: Performance of matching and sorting (n=467): time 0.07005/1.317, allocations: 26.89 MB / 0.6852 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/1.317, allocations: 99.06 kB / 0.6853 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/1.324, allocations: 3.693 MB / 0.6889 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008336/1.325, allocations: 101.7 kB / 0.689 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003363/1.328, allocations: 4.127 MB / 0.6931 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002343/1.331, allocations: 1.662 MB / 0.6947 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003886/1.334, allocations: 1.24 MB / 0.6959 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.335, allocations: 305.1 kB / 0.6962 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005839/1.34, allocations: 3.206 MB / 0.6993 GB, free: 15.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008041/1.348, allocations: 5.393 MB / 0.7046 GB, free: 9.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/1.364, allocations: 9.245 MB / 0.7136 GB, free: 15.25 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.099e-05/1.364, allocations: 20 kB / 0.7136 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.02481/1.389, allocations: 10.97 MB / 0.7244 GB, free: 4.738 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/1.389, allocations: 36 kB / 0.7244 GB, free: 4.703 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.389, allocations: 68 kB / 0.7244 GB, free: 4.637 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007366/1.396, allocations: 2.456 MB / 0.7268 GB, free: 2.18 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.402, allocations: 1.34 MB / 0.7282 GB, free: 0.9336 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0354/1.437, allocations: 20.49 MB / 0.7482 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/1.443, allocations: 343.5 kB / 0.7485 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.444, allocations: 311.9 kB / 0.7488 GB, free: 11.65 MB / 0.5919 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 (700): * Single equations (assignments): 697 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,44,41.8%), (14,44,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007886/1.452, allocations: 3.781 MB / 0.7525 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/1.453, allocations: 437.2 kB / 0.7529 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2736/1.727, allocations: 8.584 MB / 0.7613 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01374/1.741, allocations: 7.361 MB / 0.7685 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/1.741, allocations: 19.78 kB / 0.7685 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.502e-05/1.741, allocations: 26.06 kB / 0.7685 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03186/1.773, allocations: 19.1 MB / 0.7872 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/1.773, allocations: 5 kB / 0.7872 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/1.776, allocations: 0.7537 MB / 0.7879 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005569/1.781, allocations: 2.195 MB / 0.7901 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005659/1.782, allocations: 101.2 kB / 0.7902 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/1.803, allocations: 17.22 MB / 0.807 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.803, allocations: 7.938 kB / 0.807 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/1.82, allocations: 12.34 MB / 0.819 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002992/1.823, allocations: 1.04 MB / 0.82 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007851/1.824, allocations: 91.94 kB / 0.8201 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.826, allocations: 218.4 kB / 0.8203 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008328/1.827, allocations: 363.3 kB / 0.8207 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002654/1.828, allocations: 140 kB / 0.8208 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003314/1.831, allocations: 2.495 MB / 0.8232 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.831, allocations: 0 / 0.8232 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00685/1.838, allocations: 1.791 MB / 0.825 GB, free: 186 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.stray.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 (401): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,38,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01724/1.855, allocations: 13.1 MB / 0.8378 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01396/1.869, allocations: 8.533 MB / 0.8461 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.869, allocations: 0 / 0.8461 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007852/1.877, allocations: 4.319 MB / 0.8503 GB, free: 160 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007007/1.884, allocations: 0.9976 MB / 0.8513 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/1.996, allocations: 59.91 MB / 0.9098 GB, free: 96.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009722/2.005, allocations: 6.346 MB / 0.916 GB, free: 90.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004444/2.01, allocations: 1.93 MB / 0.9179 GB, free: 88.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004655/2.015, allocations: 3.37 MB / 0.9212 GB, free: 85.01 MB / 0.5919 GB Notification: Performance of SimCode: time 1.533e-06/2.015, allocations: 0 / 0.9212 GB, free: 85.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4818/2.496, allocations: 150.1 MB / 1.068 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.77/24.26, allocations: 8 kB / 1.068 GB, free: 188.5 MB / 0.5919 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 27.796644917980302]