Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001292/0.001292, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001415/0.001415, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 177.1 MB / 204.7 MB, free: 8.922 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 61.8 kB / 325.6 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.09059, allocations: 53.39 MB / 379 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02591/0.1165, allocations: 21.36 MB / 400.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1309, allocations: 7.17 MB / 407.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.1344, allocations: 222.9 kB / 407.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02033/0.1547, allocations: 8.646 MB / 416.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009761/0.1645, allocations: 2.953 MB / 419.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.1691, allocations: 1.728 MB / 421 MB, free: 5.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.1825, allocations: 10.94 MB / 432 MB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02011/0.2026, allocations: 14.16 MB / 446.1 MB, free: 11.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00751/0.2101, allocations: 5.869 MB / 452 MB, free: 6.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009399/0.2195, allocations: 6.073 MB / 458.1 MB, free: 12 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002788/0.2223, allocations: 1.668 MB / 459.8 MB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.2266, allocations: 2.039 MB / 461.8 MB, free: 12.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00355/0.2301, allocations: 3.16 MB / 464.9 MB, free: 9.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007893/0.238, allocations: 4.717 MB / 469.7 MB, free: 4.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2108/0.4488, allocations: 22.48 MB / 492.1 MB, free: 36.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4488, allocations: 0 / 492.1 MB, free: 36.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4488, allocations: 0 / 492.1 MB, free: 36.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007217/0.4496, allocations: 0 / 492.1 MB, free: 36.66 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04261/0.4922, allocations: 12.88 MB / 0.4932 GB, free: 31.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4922, allocations: 10.81 kB / 0.4932 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03521/0.5274, allocations: 6.193 MB / 0.4992 GB, free: 28.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/0.5436, allocations: 7.014 MB / 0.5061 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000676/0.5443, allocations: 0.7041 MB / 0.5068 GB, free: 23.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006234/0.5505, allocations: 0.9241 MB / 0.5077 GB, free: 23.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03729/0.5878, allocations: 15.92 MB / 0.5232 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004109/0.5882, allocations: 7.953 kB / 0.5232 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003542/0.5918, allocations: 392.7 kB / 0.5236 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000497/0.5923, allocations: 0.5508 MB / 0.5242 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02876/0.621, allocations: 14.74 MB / 0.5385 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.089/0.71, allocations: 44.09 MB / 0.5816 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/0.7302, allocations: 9.203 MB / 0.5906 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005673/0.7358, allocations: 2.913 MB / 0.5934 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004928/0.7363, allocations: 106.1 kB / 0.5935 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.6e-05/0.7364, allocations: 73.69 kB / 0.5936 GB, free: 5.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 6.983e-06/0.7364, allocations: 0 / 0.5936 GB, free: 5.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04276/0.7792, allocations: 17.07 MB / 0.6103 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.7792, allocations: 90.58 kB / 0.6104 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006811/0.7861, allocations: 3.6 MB / 0.6139 GB, free: 384 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003868/0.7864, allocations: 89.7 kB / 0.614 GB, free: 288 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003333/0.7898, allocations: 4.142 MB / 0.618 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/0.7914, allocations: 1.453 MB / 0.6194 GB, free: 10.72 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.7938, allocations: 1.148 MB / 0.6206 GB, free: 9.562 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7939, allocations: 305.1 kB / 0.6209 GB, free: 9.262 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004638/0.7985, allocations: 2.795 MB / 0.6236 GB, free: 6.461 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006776/0.8053, allocations: 4.974 MB / 0.6284 GB, free: 0.5195 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/0.8183, allocations: 8.316 MB / 0.6366 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-05/0.8184, allocations: 20 kB / 0.6366 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01767/0.8361, allocations: 9.058 MB / 0.6454 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.274e-05/0.8361, allocations: 36.53 kB / 0.6455 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.8363, allocations: 72 kB / 0.6455 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003646/0.8399, allocations: 1.196 MB / 0.6467 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/0.8451, allocations: 1.32 MB / 0.648 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.8613, allocations: 9.465 MB / 0.6572 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/0.8664, allocations: 330.2 kB / 0.6575 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.8674, allocations: 288 kB / 0.6578 GB, free: 2.207 MB / 0.545 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.007157/0.8746, allocations: 3.705 MB / 0.6614 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/0.8757, allocations: 409.4 kB / 0.6618 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/0.89, allocations: 6.611 MB / 0.6683 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01058/0.9006, allocations: 5.542 MB / 0.6737 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/0.9006, allocations: 16 kB / 0.6737 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-05/0.9007, allocations: 19.92 kB / 0.6737 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.251/1.152, allocations: 13.45 MB / 0.6869 GB, free: 194.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.152, allocations: 3.562 kB / 0.6869 GB, free: 194.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/1.154, allocations: 0.7276 MB / 0.6876 GB, free: 194.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/1.157, allocations: 1.077 MB / 0.6886 GB, free: 194.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/1.157, allocations: 97.14 kB / 0.6887 GB, free: 194.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.168, allocations: 8.42 MB / 0.6969 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.168, allocations: 5.625 kB / 0.6969 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.181, allocations: 9.799 MB / 0.7065 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.184, allocations: 0.8971 MB / 0.7074 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/1.185, allocations: 76 kB / 0.7075 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.187, allocations: 192.8 kB / 0.7076 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/1.187, allocations: 310.6 kB / 0.7079 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.188, allocations: 130.6 kB / 0.7081 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003155/1.191, allocations: 2.327 MB / 0.7103 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.191, allocations: 0 / 0.7103 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006267/1.197, allocations: 1.602 MB / 0.7119 GB, free: 180.2 MB / 0.5606 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.0006239/1.198, allocations: 268.3 kB / 0.7122 GB, free: 180 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009571/1.207, allocations: 6.853 MB / 0.7189 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.207, allocations: 0 / 0.7189 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004861/1.212, allocations: 3.164 MB / 0.7219 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/1.217, allocations: 0.8708 MB / 0.7228 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/1.241, allocations: 16.67 MB / 0.7391 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00498/1.246, allocations: 5.737 MB / 0.7447 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00613/1.252, allocations: 1.899 MB / 0.7465 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.253, allocations: 352.4 kB / 0.7469 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.462e-06/1.253, allocations: 3.938 kB / 0.7469 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.109/1.362, allocations: 60.57 MB / 0.806 GB, free: 87.41 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.5173840299248695]