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.006777/0.006777, allocations: 103.4 kB / 21.97 MB, free: 5.211 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.00172/0.00172, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.434/1.434, allocations: 230.6 MB / 259 MB, free: 8.043 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.001986/0.001986, allocations: 63.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2792, allocations: 53.37 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0287/0.3079, allocations: 24.95 MB / 458.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.325, allocations: 7.489 MB / 465.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005256/0.3303, allocations: 222.9 kB / 465.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02124/0.3515, allocations: 8.916 MB / 474.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.3618, allocations: 3.043 MB / 477.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005294/0.3671, allocations: 1.783 MB / 479.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01633/0.3834, allocations: 10.95 MB / 490.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02409/0.4075, allocations: 14.36 MB / 0.4931 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008916/0.4164, allocations: 5.872 MB / 0.4988 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.4273, allocations: 6.378 MB / 0.505 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003923/0.4312, allocations: 1.672 MB / 0.5067 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/0.4367, allocations: 2.062 MB / 0.5087 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003784/0.4405, allocations: 3.16 MB / 0.5118 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009288/0.4498, allocations: 6.094 MB / 0.5177 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5241/0.9739, allocations: 22.39 MB / 0.5396 GB, free: 39.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.9739, allocations: 4.812 kB / 0.5396 GB, free: 39.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9739, allocations: 0 / 0.5396 GB, free: 39.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008034/0.9747, allocations: 0.5312 kB / 0.5396 GB, free: 39.79 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.04499/1.02, allocations: 12.89 MB / 0.5522 GB, free: 36.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.02, allocations: 9.812 kB / 0.5522 GB, free: 36.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/1.055, allocations: 6.18 MB / 0.5582 GB, free: 35.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/1.073, allocations: 7.014 MB / 0.5651 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007318/1.073, allocations: 0.6994 MB / 0.5658 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005465/1.079, allocations: 0.9235 MB / 0.5667 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04263/1.121, allocations: 15.78 MB / 0.5821 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003787/1.122, allocations: 23.89 kB / 0.5821 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003409/1.125, allocations: 385 kB / 0.5825 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004317/1.126, allocations: 0.5508 MB / 0.583 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03509/1.161, allocations: 14.81 MB / 0.5975 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/1.268, allocations: 49.9 MB / 0.6462 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.287, allocations: 9.306 MB / 0.6553 GB, free: 14.16 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005569/1.292, allocations: 2.93 MB / 0.6581 GB, free: 11.23 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/1.293, allocations: 122.8 kB / 0.6583 GB, free: 11.13 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.557e-05/1.293, allocations: 77.69 kB / 0.6583 GB, free: 11.05 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.741e-06/1.293, allocations: 0 / 0.6583 GB, free: 11.05 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04254/1.335, allocations: 17.27 MB / 0.6752 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/1.335, allocations: 98.08 kB / 0.6753 GB, free: 9.695 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006562/1.342, allocations: 3.697 MB / 0.6789 GB, free: 6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008737/1.343, allocations: 89.7 kB / 0.679 GB, free: 5.906 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003307/1.346, allocations: 4.134 MB / 0.683 GB, free: 1.762 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002224/1.348, allocations: 1.437 MB / 0.6844 GB, free: 352 kB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/1.351, allocations: 1.162 MB / 0.6856 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.351, allocations: 301.1 kB / 0.6858 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004793/1.355, allocations: 2.801 MB / 0.6886 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007336/1.363, allocations: 4.961 MB / 0.6934 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/1.377, allocations: 8.33 MB / 0.7016 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.962e-05/1.377, allocations: 20 kB / 0.7016 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0184/1.395, allocations: 9.1 MB / 0.7105 GB, free: 4.422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/1.395, allocations: 36 kB / 0.7105 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.395, allocations: 68 kB / 0.7106 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/1.399, allocations: 1.232 MB / 0.7118 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005576/1.405, allocations: 1.32 MB / 0.7131 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/1.421, allocations: 9.82 MB / 0.7226 GB, free: 7.977 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/1.426, allocations: 331.5 kB / 0.723 GB, free: 7.652 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.427, allocations: 292 kB / 0.7232 GB, free: 7.367 MB / 0.5607 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.007787/1.435, allocations: 3.708 MB / 0.7269 GB, free: 3.738 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.437, allocations: 421.3 kB / 0.7273 GB, free: 3.324 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.45, allocations: 6.665 MB / 0.7338 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01234/1.463, allocations: 5.582 MB / 0.7392 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/1.463, allocations: 8 kB / 0.7392 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/1.463, allocations: 19.92 kB / 0.7393 GB, free: 7.066 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03727/1.5, allocations: 15.78 MB / 0.7547 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.5, allocations: 4 kB / 0.7547 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003423/1.504, allocations: 0.7239 MB / 0.7554 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003479/1.507, allocations: 1.116 MB / 0.7565 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008491/1.508, allocations: 91.97 kB / 0.7566 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3269/1.835, allocations: 8.749 MB / 0.7651 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.835, allocations: 7.844 kB / 0.7651 GB, free: 223.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.85, allocations: 9.869 MB / 0.7747 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/1.853, allocations: 0.9203 MB / 0.7756 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009119/1.854, allocations: 75.94 kB / 0.7757 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.856, allocations: 201.9 kB / 0.7759 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000684/1.857, allocations: 306 kB / 0.7762 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.857, allocations: 123.7 kB / 0.7763 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003793/1.861, allocations: 2.496 MB / 0.7788 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.861, allocations: 0 / 0.7788 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007745/1.869, allocations: 1.605 MB / 0.7803 GB, free: 219.2 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.001035/1.87, allocations: 275.2 kB / 0.7806 GB, free: 219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.881, allocations: 6.878 MB / 0.7873 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.881, allocations: 3.812 kB / 0.7873 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005431/1.887, allocations: 3.177 MB / 0.7904 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/1.892, allocations: 0.9774 MB / 0.7914 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/1.922, allocations: 16.43 MB / 0.8074 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006511/1.929, allocations: 5.996 MB / 0.8133 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.931, allocations: 412.9 kB / 0.8137 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.512e-06/1.931, allocations: 0 / 0.8137 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1946/2.126, allocations: 160.8 MB / 0.9707 GB, free: 37.83 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/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_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: 18.120953751029447]