Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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 trunk/package.mo", uses=false) 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.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 114.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.88 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.214, allocations: 50.55 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.03728/0.2514, allocations: 40.07 MB / 450.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.2704, allocations: 10.66 MB / 460.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005856/0.2763, allocations: 307 kB / 461 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01791/0.2942, allocations: 8.588 MB / 469.6 MB, free: 5.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.3043, allocations: 3.488 MB / 473.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.3102, allocations: 2.367 MB / 475.5 MB, free: 15.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3238, allocations: 12.95 MB / 488.4 MB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03107/0.3549, allocations: 25.31 MB / 0.5017 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007909/0.3628, allocations: 6.83 MB / 0.5084 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3731, allocations: 7.837 MB / 0.516 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00328/0.3764, allocations: 1.949 MB / 0.5179 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.3822, allocations: 2.363 MB / 0.5202 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004055/0.3863, allocations: 3.959 MB / 0.5241 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009821/0.3961, allocations: 7.552 MB / 0.5315 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2158/0.612, allocations: 25.97 MB / 0.5568 GB, free: 55.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.612, allocations: 2.219 kB / 0.5568 GB, free: 55.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.612, allocations: 0 / 0.5568 GB, free: 55.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005598/0.6126, allocations: 0 / 0.5568 GB, free: 55.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3329 * Number of variables: 3329 Notification: Performance of Generate backend data structure: time 0.03671/0.6493, allocations: 15.33 MB / 0.5718 GB, free: 48.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.6493, allocations: 7.625 kB / 0.5718 GB, free: 48.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03119/0.6805, allocations: 6.222 MB / 0.5779 GB, free: 46.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.6943, allocations: 8.092 MB / 0.5858 GB, free: 42.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004993/0.6948, allocations: 0.9008 MB / 0.5867 GB, free: 42.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003838/0.6987, allocations: 1.201 MB / 0.5878 GB, free: 41.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.7338, allocations: 18.65 MB / 0.6061 GB, free: 25.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.7341, allocations: 19.89 kB / 0.6061 GB, free: 25.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.7356, allocations: 0.4942 MB / 0.6066 GB, free: 24.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003941/0.736, allocations: 0.6382 MB / 0.6072 GB, free: 24.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.7619, allocations: 16.77 MB / 0.6236 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08801/0.85, allocations: 58.98 MB / 0.6812 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0257/0.8757, allocations: 33.21 MB / 0.7136 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005938/0.8817, allocations: 3.74 MB / 0.7172 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/0.8981, allocations: 8.851 MB / 0.7259 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.8982, allocations: 69.31 kB / 0.726 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=349): time 6.222e-06/0.8982, allocations: 0 / 0.726 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=389): time 0.03674/0.9349, allocations: 17.71 MB / 0.7432 GB, free: 8.23 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.935, allocations: 90.47 kB / 0.7433 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00911/0.9441, allocations: 5.046 MB / 0.7483 GB, free: 3.094 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.9444, allocations: 85.7 kB / 0.7483 GB, free: 3.004 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.1934/1.138, allocations: 5.636 MB / 0.7538 GB, free: 218 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.139, allocations: 1.423 MB / 0.7552 GB, free: 217.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/1.141, allocations: 1.331 MB / 0.7565 GB, free: 217 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.131e-05/1.141, allocations: 303.4 kB / 0.7568 GB, free: 216.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/1.145, allocations: 2.903 MB / 0.7597 GB, free: 216.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/1.149, allocations: 5.874 MB / 0.7654 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008268/1.157, allocations: 9.446 MB / 0.7746 GB, free: 205.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.857e-05/1.157, allocations: 30.16 kB / 0.7747 GB, free: 205.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01291/1.17, allocations: 9.874 MB / 0.7843 GB, free: 201.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/1.17, allocations: 52.81 kB / 0.7843 GB, free: 201.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.119e-05/1.17, allocations: 101.1 kB / 0.7844 GB, free: 201.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/1.173, allocations: 0.9307 MB / 0.7854 GB, free: 200.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004914/1.178, allocations: 1.584 MB / 0.7869 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009457/1.187, allocations: 10.2 MB / 0.7969 GB, free: 191.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/1.191, allocations: 408.4 kB / 0.7972 GB, free: 191.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/1.192, allocations: 351.3 kB / 0.7976 GB, free: 191.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (816): * Single equations (assignments): 811 * 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 {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005218/1.197, allocations: 4.254 MB / 0.8017 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007978/1.198, allocations: 0.5394 MB / 0.8023 GB, free: 187 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/1.207, allocations: 6.493 MB / 0.8086 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/1.207, allocations: 18.84 kB / 0.8086 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.207, allocations: 0 / 0.8086 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.209, allocations: 1.08 MB / 0.8097 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006117/1.209, allocations: 72 kB / 0.8097 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.211, allocations: 220.5 kB / 0.81 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/1.212, allocations: 277.8 kB / 0.8102 GB, free: 180.1 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009268/1.221, allocations: 6.057 MB / 0.8161 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009087/1.23, allocations: 8.055 MB / 0.824 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002449/1.233, allocations: 2.416 MB / 0.8264 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004114/1.237, allocations: 3.359 MB / 0.8296 GB, free: 162.3 MB / 0.5763 GB Notification: Performance of Backend: time 3.61e-07/1.237, allocations: 0 / 0.8296 GB, free: 162.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008882/1.246, allocations: 5.907 MB / 0.8354 GB, free: 156.4 MB / 0.5763 GB Notification: Performance of SimCode: time 0.02476/1.27, allocations: 19.63 MB / 0.8546 GB, free: 136.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.117/1.388, allocations: 87.37 MB / 0.9399 GB, free: 50.04 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMR_CurrentSource/SMR_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches