Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001247/0.001247, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001344/0.001344, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.38/1.38, allocations: 230.4 MB / 255.4 MB, free: 9.078 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-beta.om/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: 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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.88 kB / 374.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2414, allocations: 53.32 MB / 428.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02788/0.2693, allocations: 24.89 MB / 453 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.2845, allocations: 7.463 MB / 460.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/0.2892, allocations: 187.4 kB / 460.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02017/0.3093, allocations: 8.901 MB / 469.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009958/0.3193, allocations: 2.959 MB / 472.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004846/0.3241, allocations: 1.735 MB / 474.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01434/0.3385, allocations: 10.82 MB / 485 MB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02631/0.3648, allocations: 16.58 MB / 0.4899 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007959/0.3727, allocations: 5.74 MB / 0.4955 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009831/0.3826, allocations: 6.351 MB / 0.5017 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003622/0.3862, allocations: 1.676 MB / 0.5033 GB, free: 412 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004589/0.3908, allocations: 2.046 MB / 0.5053 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.3939, allocations: 3.168 MB / 0.5084 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008061/0.402, allocations: 6.094 MB / 0.5144 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4958/0.8978, allocations: 22.39 MB / 0.5362 GB, free: 41.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.8978, allocations: 0.5 kB / 0.5362 GB, free: 41.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8978, allocations: 0 / 0.5362 GB, free: 41.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000843/0.8987, allocations: 0.5 kB / 0.5362 GB, free: 41.74 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.03776/0.9364, allocations: 12.95 MB / 0.5489 GB, free: 38.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.9365, allocations: 9.906 kB / 0.5489 GB, free: 38.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03347/0.9699, allocations: 6.184 MB / 0.5549 GB, free: 37.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.9831, allocations: 6.944 MB / 0.5617 GB, free: 36.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005451/0.9836, allocations: 0.6998 MB / 0.5624 GB, free: 36.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003807/0.9874, allocations: 0.9204 MB / 0.5633 GB, free: 36.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/1.021, allocations: 15.78 MB / 0.5787 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000289/1.021, allocations: 15.89 kB / 0.5787 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003056/1.024, allocations: 393.4 kB / 0.5791 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004686/1.025, allocations: 0.5469 MB / 0.5796 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/1.051, allocations: 14.81 MB / 0.5941 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08523/1.136, allocations: 52.18 MB / 0.645 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02811/1.164, allocations: 26.1 MB / 0.6705 GB, free: 7.242 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005265/1.169, allocations: 2.936 MB / 0.6734 GB, free: 4.305 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/1.17, allocations: 274.9 kB / 0.6737 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.422e-05/1.17, allocations: 77.69 kB / 0.6737 GB, free: 3.934 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5e-06/1.17, allocations: 0 / 0.6737 GB, free: 3.934 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.04201/1.212, allocations: 17.41 MB / 0.6907 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/1.212, allocations: 98.52 kB / 0.6908 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006117/1.218, allocations: 3.697 MB / 0.6944 GB, free: 14.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000787/1.219, allocations: 93.7 kB / 0.6945 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003167/1.222, allocations: 4.132 MB / 0.6986 GB, free: 10.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.224, allocations: 1.434 MB / 0.7 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00199/1.226, allocations: 1.16 MB / 0.7011 GB, free: 7.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.226, allocations: 305.1 kB / 0.7014 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/1.231, allocations: 2.799 MB / 0.7041 GB, free: 4.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/1.237, allocations: 4.965 MB / 0.709 GB, free: 14.85 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/1.25, allocations: 8.324 MB / 0.7171 GB, free: 5.812 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.102e-05/1.25, allocations: 20 kB / 0.7171 GB, free: 5.793 MB / 0.5607 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01964/1.27, allocations: 9.102 MB / 0.726 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.27, allocations: 32 kB / 0.726 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/1.27, allocations: 72.53 kB / 0.7261 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/1.274, allocations: 1.23 MB / 0.7273 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/1.28, allocations: 1.326 MB / 0.7286 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/1.297, allocations: 9.919 MB / 0.7383 GB, free: 0.5547 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005161/1.303, allocations: 335.5 kB / 0.7386 GB, free: 232 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/1.304, allocations: 288 kB / 0.7389 GB, free: 15.94 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 (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.01096/1.315, allocations: 3.717 MB / 0.7425 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/1.317, allocations: 417.3 kB / 0.7429 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.332, allocations: 6.661 MB / 0.7494 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2995/1.632, allocations: 5.573 MB / 0.7549 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/1.632, allocations: 13.38 kB / 0.7549 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.632, allocations: 19.91 kB / 0.7549 GB, free: 226.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.658, allocations: 15.76 MB / 0.7703 GB, free: 222 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.658, allocations: 3.906 kB / 0.7703 GB, free: 222 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002626/1.66, allocations: 0.7337 MB / 0.771 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003035/1.663, allocations: 1.112 MB / 0.7721 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/1.664, allocations: 99.11 kB / 0.7722 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.675, allocations: 8.857 MB / 0.7808 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.675, allocations: 3.75 kB / 0.7808 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.689, allocations: 9.858 MB / 0.7905 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.691, allocations: 0.9764 MB / 0.7914 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006095/1.692, allocations: 78.58 kB / 0.7915 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.694, allocations: 194.3 kB / 0.7917 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007249/1.695, allocations: 296.5 kB / 0.792 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.695, allocations: 125.9 kB / 0.7921 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004034/1.699, allocations: 2.495 MB / 0.7945 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.699, allocations: 0 / 0.7945 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007078/1.706, allocations: 1.607 MB / 0.7961 GB, free: 209.7 MB / 0.5919 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.0006911/1.707, allocations: 279.3 kB / 0.7964 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.717, allocations: 6.88 MB / 0.8031 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.717, allocations: 0 / 0.8031 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005247/1.722, allocations: 3.178 MB / 0.8062 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/1.727, allocations: 0.9785 MB / 0.8071 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/1.755, allocations: 16.29 MB / 0.823 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006164/1.761, allocations: 5.999 MB / 0.8289 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.763, allocations: 411.3 kB / 0.8293 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.503e-06/1.763, allocations: 0 / 0.8293 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.3658/2.129, allocations: 160.7 MB / 0.9862 GB, free: 216.9 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 16.751768943155184]