Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 122.6 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 203.6 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.382/1.382, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB 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.001876/0.001876, allocations: 67.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2246, allocations: 50.55 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01177/0.2364, allocations: 9.753 MB / 420 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006012/0.2424, allocations: 3.096 MB / 423.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.2437, allocations: 55.75 kB / 423.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.2453, allocations: 0.6599 MB / 423.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.2475, allocations: 0.7843 MB / 424.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000798/0.2483, allocations: 391.4 kB / 425 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002739/0.251, allocations: 2.432 MB / 427.4 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.2526, allocations: 1.271 MB / 428.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.2541, allocations: 1.094 MB / 429.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.2559, allocations: 1.319 MB / 431.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.2563, allocations: 283.9 kB / 431.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007004/0.257, allocations: 367.9 kB / 431.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007699/0.2578, allocations: 0.7829 MB / 432.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.2591, allocations: 1.276 MB / 433.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.263, allocations: 3.67 MB / 437.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.263, allocations: 4 kB / 437.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.263, allocations: 0 / 437.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.263, allocations: 0 / 437.4 MB, free: 6.086 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005268/0.2683, allocations: 2.659 MB / 440.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2684, allocations: 8.031 kB / 440.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008198/0.2692, allocations: 291.3 kB / 440.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.2716, allocations: 1.362 MB / 441.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.2717, allocations: 152.1 kB / 441.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.272, allocations: 195.9 kB / 442.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.276, allocations: 2.419 MB / 444.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/0.2761, allocations: 7.938 kB / 444.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.2763, allocations: 83.92 kB / 444.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.2764, allocations: 91.69 kB / 444.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.2798, allocations: 1.959 MB / 446.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.2919, allocations: 7.792 MB / 454.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2936, allocations: 1.156 MB / 455.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.2955, allocations: 0.9136 MB / 456.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.2957, allocations: 122.1 kB / 456.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.2957, allocations: 47.56 kB / 456.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.735e-06/0.2957, allocations: 0 / 456.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01313/0.3089, allocations: 5.874 MB / 462.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3089, allocations: 68.28 kB / 462.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.3109, allocations: 1.318 MB / 463.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/0.311, allocations: 45.64 kB / 464 MB, free: 10.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000752/0.3118, allocations: 0.9458 MB / 464.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.3121, allocations: 408.5 kB / 465.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.3125, allocations: 255.5 kB / 465.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3127, allocations: 361.9 kB / 465.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.3137, allocations: 0.6325 MB / 466.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.3151, allocations: 1 MB / 467.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.3175, allocations: 1.739 MB / 469.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3176, allocations: 4 kB / 469.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004018/0.3216, allocations: 2.242 MB / 471.5 MB, free: 2.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.3216, allocations: 12 kB / 471.6 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.3216, allocations: 8.312 kB / 471.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.3229, allocations: 495.9 kB / 472.1 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.324, allocations: 303.5 kB / 472.3 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.3318, allocations: 7.132 MB / 479.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.333, allocations: 87.97 kB / 479.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3331, allocations: 52 kB / 479.6 MB, free: 10.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.3342, allocations: 0.6027 MB / 480.2 MB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.3345, allocations: 155 kB / 480.4 MB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.3381, allocations: 1.961 MB / 482.3 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3381, allocations: 12 kB / 482.3 MB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3381, allocations: 4 kB / 482.3 MB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3381, allocations: 3.984 kB / 482.4 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.3453, allocations: 4.117 MB / 486.5 MB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3453, allocations: 288 / 486.5 MB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/0.3461, allocations: 183.8 kB / 486.6 MB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.3476, allocations: 0.5348 MB / 487.2 MB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/0.3477, allocations: 35.91 kB / 487.2 MB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009269/0.357, allocations: 8.764 MB / 496 MB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.357, allocations: 7.938 kB / 496 MB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/0.3618, allocations: 2.852 MB / 498.8 MB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008256/0.3626, allocations: 360 kB / 499.2 MB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.3628, allocations: 24 kB / 499.2 MB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.3636, allocations: 68.39 kB / 499.3 MB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.3639, allocations: 92.84 kB / 499.4 MB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.3639, allocations: 35.98 kB / 499.4 MB, free: 5.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.3652, allocations: 0.8918 MB / 0.4886 GB, free: 4.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3652, allocations: 0 / 0.4886 GB, free: 4.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001462/0.3667, allocations: 443.9 kB / 0.489 GB, free: 4.555 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003691/0.3671, allocations: 194.9 kB / 0.4892 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.3705, allocations: 2.153 MB / 0.4913 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3705, allocations: 0 / 0.4913 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.3729, allocations: 1.464 MB / 0.4927 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.3747, allocations: 415.8 kB / 0.4931 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/0.3812, allocations: 4.165 MB / 0.4972 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.3827, allocations: 1.654 MB / 0.4988 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000914/0.3836, allocations: 324.8 kB / 0.4991 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.3839, allocations: 99.42 kB / 0.4992 GB, free: 9.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3839, allocations: 0 / 0.4992 GB, free: 9.84 MB / 430.1 MB Notification: Performance of Templates: time 0.04246/0.4263, allocations: 24.35 MB / 0.523 GB, free: 1.75 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches