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.001289/0.001289, 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 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.001429/0.001429, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.809 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: 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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 43.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2369, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02656/0.2634, allocations: 21.37 MB / 453 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.2802, allocations: 7.17 MB / 460.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/0.2856, allocations: 222.9 kB / 460.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02135/0.307, allocations: 8.224 MB / 468.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.3171, allocations: 2.953 MB / 471.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005394/0.3225, allocations: 1.713 MB / 473.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.3374, allocations: 10.94 MB / 484.2 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02717/0.3646, allocations: 14.17 MB / 498.4 MB, free: 3.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.3749, allocations: 5.876 MB / 0.4924 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.3859, allocations: 6.077 MB / 0.4984 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004112/0.39, allocations: 1.668 MB / 0.5 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005865/0.3959, allocations: 2.046 MB / 0.502 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004743/0.4006, allocations: 3.16 MB / 0.5051 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009074/0.4097, allocations: 4.709 MB / 0.5097 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02758/0.4373, allocations: 22.48 MB / 0.5316 GB, free: 5.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4373, allocations: 4 kB / 0.5316 GB, free: 5.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4373, allocations: 0 / 0.5316 GB, free: 5.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004784/0.4378, allocations: 0 / 0.5316 GB, free: 5.5 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.4195/0.8573, allocations: 12.88 MB / 0.5442 GB, free: 89.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8573, allocations: 7.938 kB / 0.5442 GB, free: 89.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03476/0.8921, allocations: 6.184 MB / 0.5503 GB, free: 84.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/0.9077, allocations: 7.006 MB / 0.5571 GB, free: 77.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000608/0.9083, allocations: 0.6979 MB / 0.5578 GB, free: 77.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003532/0.9118, allocations: 0.917 MB / 0.5587 GB, free: 76.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/0.9484, allocations: 15.93 MB / 0.5742 GB, free: 60.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005742/0.949, allocations: 15.88 kB / 0.5743 GB, free: 60.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003414/0.9524, allocations: 391.3 kB / 0.5746 GB, free: 59.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005257/0.9529, allocations: 0.5469 MB / 0.5752 GB, free: 59.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02646/0.9794, allocations: 14.74 MB / 0.5896 GB, free: 44.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07054/1.05, allocations: 44.08 MB / 0.6326 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/1.069, allocations: 9.198 MB / 0.6416 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005653/1.075, allocations: 2.928 MB / 0.6444 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/1.076, allocations: 98.97 kB / 0.6445 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.217e-05/1.076, allocations: 77.69 kB / 0.6446 GB, free: 4.871 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 7.133e-06/1.076, allocations: 0 / 0.6446 GB, free: 4.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04283/1.118, allocations: 17.07 MB / 0.6613 GB, free: 3.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/1.119, allocations: 94.58 kB / 0.6614 GB, free: 3.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006578/1.125, allocations: 3.592 MB / 0.6649 GB, free: 152 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005924/1.126, allocations: 93.7 kB / 0.665 GB, free: 52 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003265/1.129, allocations: 4.149 MB / 0.669 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.131, allocations: 1.437 MB / 0.6704 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/1.133, allocations: 1.164 MB / 0.6716 GB, free: 9.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/1.133, allocations: 301.1 kB / 0.6718 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004901/1.138, allocations: 2.787 MB / 0.6746 GB, free: 6.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006989/1.145, allocations: 4.978 MB / 0.6794 GB, free: 176 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/1.159, allocations: 8.318 MB / 0.6876 GB, free: 6.855 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/1.159, allocations: 20 kB / 0.6876 GB, free: 6.836 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01907/1.178, allocations: 9.043 MB / 0.6964 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.178, allocations: 36.53 kB / 0.6964 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/1.178, allocations: 75.94 kB / 0.6965 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003586/1.182, allocations: 1.19 MB / 0.6977 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/1.187, allocations: 1.326 MB / 0.699 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.204, allocations: 9.471 MB / 0.7082 GB, free: 1.555 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/1.208, allocations: 327.6 kB / 0.7085 GB, free: 1.234 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.209, allocations: 288 kB / 0.7088 GB, free: 0.9531 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.008493/1.218, allocations: 3.708 MB / 0.7124 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/1.22, allocations: 401.4 kB / 0.7128 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02174/1.241, allocations: 6.609 MB / 0.7193 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01605/1.257, allocations: 5.548 MB / 0.7247 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/1.257, allocations: 12 kB / 0.7247 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.221e-05/1.258, allocations: 23.92 kB / 0.7247 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.29, allocations: 13.45 MB / 0.7378 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/1.29, allocations: 4.594 kB / 0.7379 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/1.293, allocations: 0.7255 MB / 0.7386 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/1.296, allocations: 1.08 MB / 0.7396 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004482/1.297, allocations: 91.97 kB / 0.7397 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.312, allocations: 8.419 MB / 0.7479 GB, free: 8.539 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.312, allocations: 4 kB / 0.7479 GB, free: 8.535 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2374/1.55, allocations: 9.787 MB / 0.7575 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/1.553, allocations: 0.8966 MB / 0.7584 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007891/1.554, allocations: 78.72 kB / 0.7584 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.556, allocations: 198.4 kB / 0.7586 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006575/1.556, allocations: 305.4 kB / 0.7589 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.557, allocations: 127.2 kB / 0.759 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003308/1.56, allocations: 2.328 MB / 0.7613 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9.1e-08/1.56, allocations: 2.469 kB / 0.7613 GB, free: 192.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004652/1.565, allocations: 1.608 MB / 0.7629 GB, free: 192.5 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.0005029/1.565, allocations: 274.2 kB / 0.7631 GB, free: 192.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009757/1.575, allocations: 6.847 MB / 0.7698 GB, free: 190 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.575, allocations: 5.219 kB / 0.7698 GB, free: 190 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005042/1.58, allocations: 3.166 MB / 0.7729 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004312/1.584, allocations: 0.8727 MB / 0.7738 GB, free: 188.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.607, allocations: 16.68 MB / 0.7901 GB, free: 178.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005665/1.613, allocations: 5.738 MB / 0.7957 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00447/1.618, allocations: 1.887 MB / 0.7975 GB, free: 172.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009358/1.618, allocations: 355.4 kB / 0.7979 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.002e-06/1.618, allocations: 11.94 kB / 0.7979 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.09603/1.714, allocations: 69.75 MB / 0.866 GB, free: 104.8 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/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/jenkins/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: 7.9326275158673525]