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.001355/0.001355, allocations: 77.56 kB / 21.24 MB, free: 476 kB / 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.001422/0.001422, allocations: 168.7 kB / 24.49 MB, free: 3.645 MB / 14.72 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 1.372/1.372, allocations: 158.6 MB / 186.2 MB, free: 6.504 MB / 174.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 51.92 kB / 298.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3277, allocations: 49.13 MB / 347.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02824/0.3559, allocations: 21.43 MB / 369.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.3748, allocations: 7.097 MB / 376.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006782/0.3816, allocations: 187.1 kB / 376.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02322/0.4048, allocations: 8.655 MB / 385.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.4184, allocations: 3.012 MB / 388.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006934/0.4254, allocations: 1.75 MB / 389.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01863/0.444, allocations: 10.97 MB / 400.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.035/0.479, allocations: 14.23 MB / 415.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02203/0.501, allocations: 8.963 MB / 424.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01444/0.5155, allocations: 6.147 MB / 430.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005863/0.5213, allocations: 1.68 MB / 431.9 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008398/0.5297, allocations: 2.031 MB / 433.9 MB, free: 9.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007937/0.5377, allocations: 3.227 MB / 437.1 MB, free: 5.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01667/0.5543, allocations: 4.775 MB / 441.9 MB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03977/0.5941, allocations: 22.51 MB / 464.4 MB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5941, allocations: 4 kB / 464.4 MB, free: 10.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5941, allocations: 0 / 464.4 MB, free: 10.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008038/0.5949, allocations: 3.938 kB / 464.4 MB, free: 10.54 MB / 430.1 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.5441/1.139, allocations: 13.04 MB / 477.5 MB, free: 96.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.139, allocations: 13.23 kB / 477.5 MB, free: 96.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03932/1.178, allocations: 7.246 MB / 484.7 MB, free: 94.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.194, allocations: 6.238 MB / 491 MB, free: 88.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007014/1.195, allocations: 0.7139 MB / 491.7 MB, free: 87.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004702/1.2, allocations: 0.9288 MB / 492.6 MB, free: 87.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03818/1.238, allocations: 16.36 MB / 0.497 GB, free: 70.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/1.238, allocations: 15.84 kB / 0.4971 GB, free: 70.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002695/1.241, allocations: 399.5 kB / 0.4974 GB, free: 70.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004755/1.242, allocations: 0.5864 MB / 0.498 GB, free: 69.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03033/1.272, allocations: 15.38 MB / 0.513 GB, free: 54.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08543/1.357, allocations: 44.94 MB / 0.5569 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01783/1.375, allocations: 10.93 MB / 0.5676 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005728/1.381, allocations: 3.09 MB / 0.5706 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0186/1.399, allocations: 9.005 MB / 0.5794 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/1.4, allocations: 64.89 kB / 0.5795 GB, free: 3.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 5.761e-06/1.4, allocations: 0 / 0.5795 GB, free: 3.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.03853/1.438, allocations: 15.09 MB / 0.5942 GB, free: 4.395 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/1.438, allocations: 81.78 kB / 0.5943 GB, free: 4.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006872/1.445, allocations: 3.771 MB / 0.598 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006598/1.446, allocations: 81.7 kB / 0.598 GB, free: 452 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003985/1.45, allocations: 4.423 MB / 0.6023 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.451, allocations: 1.112 MB / 0.6034 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/1.454, allocations: 1.1 MB / 0.6045 GB, free: 9.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/1.454, allocations: 301.1 kB / 0.6048 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/1.458, allocations: 2.544 MB / 0.6073 GB, free: 6.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00719/1.466, allocations: 4.93 MB / 0.6121 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.478, allocations: 7.938 MB / 0.6198 GB, free: 7.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.859e-05/1.478, allocations: 24 kB / 0.6199 GB, free: 7.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01991/1.498, allocations: 8.584 MB / 0.6283 GB, free: 15.11 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.498, allocations: 36 kB / 0.6283 GB, free: 15.07 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.499, allocations: 80 kB / 0.6284 GB, free: 15 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/1.502, allocations: 1.198 MB / 0.6295 GB, free: 13.79 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00502/1.507, allocations: 1.232 MB / 0.6307 GB, free: 12.56 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.526, allocations: 9.488 MB / 0.64 GB, free: 2.957 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005263/1.531, allocations: 335.5 kB / 0.6403 GB, free: 2.629 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.533, allocations: 284 kB / 0.6406 GB, free: 2.352 MB / 0.4982 GB 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.01002/1.543, allocations: 3.728 MB / 0.6442 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.545, allocations: 385.5 kB / 0.6446 GB, free: 14.23 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/1.559, allocations: 5.719 MB / 0.6502 GB, free: 8.457 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01017/1.569, allocations: 4.704 MB / 0.6548 GB, free: 3.707 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/1.569, allocations: 8 kB / 0.6548 GB, free: 3.699 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-05/1.569, allocations: 15.94 kB / 0.6548 GB, free: 3.684 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/1.598, allocations: 11.46 MB / 0.666 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.598, allocations: 4 kB / 0.666 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.601, allocations: 0.5582 MB / 0.6665 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/1.604, allocations: 1.076 MB / 0.6676 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000368/1.604, allocations: 67.98 kB / 0.6677 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2897/1.894, allocations: 8.402 MB / 0.6759 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.894, allocations: 12.09 kB / 0.6759 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.907, allocations: 8.427 MB / 0.6841 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003916/1.911, allocations: 0.8018 MB / 0.6849 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000931/1.912, allocations: 63.12 kB / 0.6849 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/1.914, allocations: 186.8 kB / 0.6851 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006051/1.915, allocations: 240.1 kB / 0.6854 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/1.915, allocations: 86.16 kB / 0.6854 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003683/1.919, allocations: 2.421 MB / 0.6878 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.919, allocations: 0 / 0.6878 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007284/1.926, allocations: 1.536 MB / 0.6893 GB, free: 182.8 MB / 0.5294 GB 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.000832/1.927, allocations: 245.3 kB / 0.6895 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.938, allocations: 6.238 MB / 0.6956 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.938, allocations: 0 / 0.6956 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005899/1.944, allocations: 2.757 MB / 0.6983 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006122/1.95, allocations: 0.8353 MB / 0.6991 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/1.979, allocations: 16.45 MB / 0.7152 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006217/1.985, allocations: 5.778 MB / 0.7208 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004429/1.989, allocations: 1.859 MB / 0.7227 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008282/1.99, allocations: 296.4 kB / 0.7229 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.624e-06/1.99, allocations: 0 / 0.7229 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.08757/2.078, allocations: 54.43 MB / 0.7761 GB, free: 103.8 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.178161898627877]