Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 51.91 kB / 371.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 52.18 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03137/0.3252, allocations: 24.93 MB / 448.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01952/0.3447, allocations: 7.388 MB / 456.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006741/0.3515, allocations: 222.9 kB / 456.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0231/0.3746, allocations: 8.913 MB / 465.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.3877, allocations: 3.04 MB / 468.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006484/0.3942, allocations: 1.754 MB / 470.2 MB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01916/0.4134, allocations: 10.85 MB / 481 MB, free: 5.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03199/0.4454, allocations: 14.35 MB / 495.4 MB, free: 6.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/0.4562, allocations: 5.876 MB / 0.4895 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01323/0.4694, allocations: 6.323 MB / 0.4957 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005798/0.4752, allocations: 1.668 MB / 0.4973 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007938/0.4831, allocations: 2.043 MB / 0.4993 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006369/0.4895, allocations: 3.164 MB / 0.5024 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01289/0.5024, allocations: 6.09 MB / 0.5083 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0335/0.5359, allocations: 22.38 MB / 0.5302 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5359, allocations: 0 / 0.5302 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5359, allocations: 4 kB / 0.5302 GB, free: 7.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006551/0.5366, allocations: 0 / 0.5302 GB, free: 7.176 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.4781/1.015, allocations: 12.86 MB / 0.5427 GB, free: 92.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.015, allocations: 11.75 kB / 0.5428 GB, free: 92.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03402/1.049, allocations: 6.247 MB / 0.5489 GB, free: 90.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.065, allocations: 6.992 MB / 0.5557 GB, free: 86.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007391/1.066, allocations: 0.698 MB / 0.5564 GB, free: 85.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004273/1.07, allocations: 0.9173 MB / 0.5573 GB, free: 84.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03959/1.11, allocations: 15.75 MB / 0.5726 GB, free: 68.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006735/1.111, allocations: 15.89 kB / 0.5727 GB, free: 68.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004187/1.115, allocations: 395.1 kB / 0.573 GB, free: 68.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004495/1.115, allocations: 0.5508 MB / 0.5736 GB, free: 67.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/1.145, allocations: 14.77 MB / 0.588 GB, free: 53.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08228/1.227, allocations: 49.8 MB / 0.6366 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.246, allocations: 9.292 MB / 0.6457 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005986/1.252, allocations: 2.921 MB / 0.6486 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/1.252, allocations: 87.03 kB / 0.6486 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.252, allocations: 77.67 kB / 0.6487 GB, free: 7.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 1.006e-05/1.252, allocations: 0 / 0.6487 GB, free: 7.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04603/1.298, allocations: 17.23 MB / 0.6655 GB, free: 6.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.299, allocations: 94.52 kB / 0.6656 GB, free: 6.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009793/1.308, allocations: 3.692 MB / 0.6692 GB, free: 2.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006396/1.309, allocations: 89.7 kB / 0.6693 GB, free: 2.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003843/1.313, allocations: 4.123 MB / 0.6734 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.315, allocations: 1.449 MB / 0.6748 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002818/1.317, allocations: 1.137 MB / 0.6759 GB, free: 11.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/1.318, allocations: 309 kB / 0.6762 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005787/1.323, allocations: 2.795 MB / 0.6789 GB, free: 8.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007005/1.33, allocations: 4.953 MB / 0.6837 GB, free: 2.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.344, allocations: 8.318 MB / 0.6919 GB, free: 9.359 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.984e-05/1.344, allocations: 20 kB / 0.6919 GB, free: 9.34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01956/1.363, allocations: 9.074 MB / 0.7007 GB, free: 248 kB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/1.363, allocations: 40.52 kB / 0.7008 GB, free: 208 kB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/1.364, allocations: 72 kB / 0.7008 GB, free: 136 kB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/1.367, allocations: 1.225 MB / 0.702 GB, free: 14.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005329/1.373, allocations: 1.322 MB / 0.7033 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.391, allocations: 9.81 MB / 0.7129 GB, free: 3.645 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.396, allocations: 335.5 kB / 0.7132 GB, free: 3.316 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.397, allocations: 283.9 kB / 0.7135 GB, free: 3.039 MB / 0.5138 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.008826/1.406, allocations: 3.712 MB / 0.7171 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.408, allocations: 425.3 kB / 0.7175 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.423, allocations: 6.654 MB / 0.724 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01147/1.435, allocations: 5.564 MB / 0.7295 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.404e-05/1.435, allocations: 8 kB / 0.7295 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.497e-05/1.435, allocations: 19.92 kB / 0.7295 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03815/1.473, allocations: 15.76 MB / 0.7449 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/1.473, allocations: 4 kB / 0.7449 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/1.477, allocations: 0.7222 MB / 0.7456 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003712/1.48, allocations: 1.115 MB / 0.7467 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006947/1.481, allocations: 91.97 kB / 0.7468 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2897/1.771, allocations: 8.741 MB / 0.7553 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.771, allocations: 7.812 kB / 0.7553 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.785, allocations: 9.834 MB / 0.7649 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.788, allocations: 0.9226 MB / 0.7658 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007943/1.789, allocations: 87.03 kB / 0.7659 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.791, allocations: 201.3 kB / 0.7661 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006149/1.791, allocations: 304.8 kB / 0.7664 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/1.792, allocations: 114.3 kB / 0.7665 GB, free: 178 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003356/1.795, allocations: 2.495 MB / 0.7689 GB, free: 177.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.795, allocations: 0 / 0.7689 GB, free: 177.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005848/1.801, allocations: 1.61 MB / 0.7705 GB, free: 176.9 MB / 0.545 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.0007686/1.802, allocations: 280.1 kB / 0.7708 GB, free: 176.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.813, allocations: 6.863 MB / 0.7775 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.813, allocations: 7.094 kB / 0.7775 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005804/1.819, allocations: 3.16 MB / 0.7806 GB, free: 172.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/1.824, allocations: 0.9717 MB / 0.7815 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.849, allocations: 16.48 MB / 0.7976 GB, free: 156.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004804/1.854, allocations: 6.003 MB / 0.8035 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/1.856, allocations: 387.4 kB / 0.8038 GB, free: 150.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.163e-06/1.856, allocations: 0 / 0.8038 GB, free: 150.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1675/2.023, allocations: 159.1 MB / 0.9592 GB, free: 8.004 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 17.44784524710849]